Search:

Type: Posts; User: georgefoxjunior

Search: Search took 0.01 seconds.

  1. Replies
    11
    Views
    1,493

    unfortunately it happens with all projects. ...

    unfortunately it happens with all projects.

    however, in the mean time I created a simple structure to replace seek:

    [code] while (count<loc-1)
    {
    readMe.get();
    count++;
    }...
  2. Replies
    11
    Views
    1,493

    regarding problem 1- the point of using seekg()...

    regarding problem 1- the point of using seekg() was to start somewhere besides the beginning of the file. hence (1) and not (0).

    problem 2- I'm not using length any more; the program is only...
  3. Replies
    11
    Views
    1,493

    the code

    Well, the code is really only that one statement. But here goes.

    btw, I'm not sure how to paste in code the correct way, so sorry if it's messy.

    // Headers

    #include <iostream.h>
    #include...
  4. Replies
    11
    Views
    1,493

    unusual fstream problems

    For some reason, a bunch of functions won't compile using fstreams- most importantly, seekg and seekp:

    Error : 'seekg' is not a struct/union/class member
    readertest.cp line 41 ...
Results 1 to 4 of 4