read an entire file into a string variable

Get help with the installation and running of the Zeus IDE. Please do not post bug reports or feature requests here. When in doubt post your question here.
Post Reply
blackdragonx896x

read an entire file into a string variable

Post by blackdragonx896x »

I'm trying to make a subprogram,

Code: Select all

void getfile(istream& in, string& theFile)
that can read an entire file into a string variable, including line breaks and i have no idea what im doing. I'm using Microsoft Visual Studio .NET 2003.
Thanks in advance for the help
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

Since this is a forum for the Zeus editor and not so much a forum for any particular programming language, I think you will have more luck posting your question to a C++ forum using Google Groups ;)

Cheers Jussi
Post Reply