Search:

Type: Posts; User: billh

Search: Search took 0.01 seconds.

  1. how do i get the file pointer to go back exactly one line in the file

    thanks ahead of time !!!!

    bill
  2. this is what logon.dat looks like // ...

    this is what logon.dat looks like




    // LOGON.DAT
    //
    // terminal no. user id time (in seconds)

    LOGON 7 3 21
  3. fgets() works and the data prints out exactly...

    fgets() works and the data prints out exactly like it is in the .dat file.
    Now, i need to parse the buffered string.
    i tried using some code i got from a search on this board,
    (seps[],...
  4. i got fgets to work and it displays the .dat file...

    i got fgets to work and it displays the .dat file perfectly but,

    i need to have lines that begin with // to be skipped.

    i also need to tokenize the buffer[] (is strtok() as bad as people...
  5. reading a text file and "tokenizing" it into different types(int, char, double)

    I am thinking of using

    fscans(??)

    to get a line at a time but how do i "tokenize" that string ??


    thanks for your time and understanding,
    bill
Results 1 to 5 of 5