I'm trying to make a C counter that will, at anytime in an ongoing program, say how many milliseconds have elapsed since the program started.
Any examples will be much appreciated. I've tried doing it on my own but run into errors when using long ints...
There might be a function already that does this, but I want to know how the function works, in C only. Can someone please help?