Home » Community » Newbie corner » Open file as stream for fgetpos(), fseek(), etc.
Re: Open file as stream for fgetpos(), fseek(), etc. [message #29700 is a reply to message #29698] |
Tue, 09 November 2010 07:05   |
nlneilson
Messages: 644 Registered: January 2010 Location: U.S. California. Mojave &...
|
Contributor |
|
|
I had no idea that upp had FileIn::Seek() and FileIn::GetPos().
After getting Vista to search, I had previously had turned off indexing as it took too much CPU and had to change settings in search tools, the upp directory (which includes any help files shipped with upp) found fseek.
Can this be found in the "Manual" in the left sidebar of the forum?
I did make some progress with:
ifstream inFile("test1.txt");
getline (in,Lnn);
An interesting thing there was getline returns a string
but Ln = in.GetLine(); returns a String
upp has a capital S
C++ has small s
The compiler error let me know.
Does upp have functions for fseeko(), fsetpos(), ftell() and ftello()?
upp and this forum are great, the documentation is lacking for those just getting into it.
edit: If someone could put the "Manual" in a .zip or .tar that would be great help. If it's a matter of where to place and serve it I have a website that in more than 2 years has never used more than 10%.
[Updated on: Tue, 09 November 2010 07:22] Report message to a moderator
|
|
|
 |
|
Open file as stream for fgetpos(), fseek(), etc.
|
 |
|
Re: Open file as stream for fgetpos(), fseek(), etc.
|
 |
|
Re: Open file as stream for fgetpos(), fseek(), etc.
|
 |
|
Re: Open file as stream for fgetpos(), fseek(), etc.
|
 |
|
Re: Open file as stream for fgetpos(), fseek(), etc.
|
 |
|
Re: Open file as stream for fgetpos(), fseek(), etc.
By: mr_ped on Tue, 09 November 2010 09:52
|
 |
|
Re: Open file as stream for fgetpos(), fseek(), etc.
|
 |
|
Re: Open file as stream for fgetpos(), fseek(), etc.
|
Goto Forum:
Current Time: Sat May 10 09:04:38 CEST 2025
Total time taken to generate the page: 0.03493 seconds
|