Yeah, I agree.
You see, this isn't my code, I'm just making it work with a new compiler.
So I guess my question then becomes, is:
(int)c_a += sizeof(whatever);
equivalent to:
c_a +=...
Type: Posts; User: fallout01
Yeah, I agree.
You see, this isn't my code, I'm just making it work with a new compiler.
So I guess my question then becomes, is:
(int)c_a += sizeof(whatever);
equivalent to:
c_a +=...
Before I ask my question, here is a declaration:
unsigned char *c_a
Now I have this line:
(int)c_a += sizeof(whatever);
which used to work with an older compiler, but my new compiler...
I'm trying to read 4 characters from a file, and then output them to the screen.
the file contains:
abcdefgh
This is my basic code:
char *filename = "file.txt";
char *line[5];
Is there any timing functions that will give me milliseconds.
gettimeofday() does microseconds,
and time() gives seconds at best precision
Anybody know of any that gives milliseconds?
Thanks