Search:

Type: Posts; User: Tim

Search: Search took 0.01 seconds.

  1. Thread: Char To int help

    by Tim
    Replies
    8
    Views
    1,172

    Ok I can be a little slow some times but thanks...

    Ok I can be a little slow some times but thanks that looks like it might work.
  2. Thread: Char To int help

    by Tim
    Replies
    8
    Views
    1,172

    I need an individual integer value for each...

    I need an individual integer value for each element of strNumber[0-15]
  3. Thread: Char To int help

    by Tim
    Replies
    8
    Views
    1,172

    I move a float of type double into a fixed char...

    I move a float of type double into a fixed char array
    strNumber[16] so that the decimal point always shows up in position 13 provided I stop callers from trying to pass me a
    number bigger than...
  4. Thread: Char To int help

    by Tim
    Replies
    8
    Views
    1,172

    Even if i = atoi(strNumber) did work I need an...

    Even if i = atoi(strNumber) did work I need
    an integer value for each element of strNumber.
  5. Thread: Command line args

    by Tim
    Replies
    5
    Views
    1,603

    This one works for me. static FILE *open_file...

    This one works for me.

    static FILE *open_file ( char *file, char *mode )
    {
    FILE *fp = fopen ( file, mode );

    /* "r" open for reading */
    /* "w" create for...
  6. Thread: Char To int help

    by Tim
    Replies
    8
    Views
    1,172

    Char To int help

    I've defined a character array of size 16 (strNumber[16]) that I've
    moved a double into. So far everything works fine. Now I try to
    move element 0 to an integer field, BOOM.

    I tried

    int i;...
Results 1 to 6 of 6