Search:

Type: Posts; User: fallout01

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    4,993

    Yeah, I agree. You see, this isn't my code,...

    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 +=...
  2. Replies
    5
    Views
    4,993

    lvalue vs rvalue casting

    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...
  3. Replies
    3
    Views
    1,473

    reading X character from a file

    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];
  4. Replies
    3
    Views
    1,102

    Time functions

    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
Results 1 to 4 of 4