Is there a way to time your code
eg..
main()
{
starttime();
do some stuff.....
endtime();
totaltime= endtime-starttime; //or whatever..
}
So that the time that you end up with is in milliseconds?
I'm more looking for a usable function here. I've tired using clock(), and time(NULL) but neither seem to want to give me milliseconds. Any help would be appreciated.