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++;
}...
Type: Posts; User: georgefoxjunior
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++;
}...
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...
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...
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 ...