Clock() problem# Programming - 葵花宝典
t*g
1 楼
Clock() always returns zero, anyone knows the reason?
sample code:
#include
#include
#include
using namespace std;
int main(){
for(long i=0;i<10;i++)
cout << clock() < return 0;
}
Thanks a lot.
sample code:
#include
#include
#include
using namespace std;
int main(){
for(long i=0;i<10;i++)
cout << clock() <
}
Thanks a lot.