Can you give me a example,plz!! ^.^
I have tried in this code:
int var1,var2,diff;
var1 = CLOCKS_PER_SEC;
ab.saveToFile("ATM.txt",key);
var2= CLOCKS_PER_SEC;
cout << " :" << var2;
diff = var2-var1;
cout << endl<<diff <<endl;
and the result is var1 = 1000;
var 2 =1000
diff = 0 :|
And i can't include clock.h
Thanks!!