测速 放在DEVCPP运行 出来的数是你一秒跑的速度 C++复制#include<iostream> #include<windows.h> using namespace std; int main(){ int a = GetTickCount(); int i = 0 , b; for(;;i ++){ b = GetTickCount(); if(b >= 1000 + a) break; } cout << i; return 0; }