Archived

This topic is now archived and is closed to further replies.

Guest Anonymous Poster

Reading from files

This topic is 6584 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

That's all covered in the on-line help that would have been included in your c++ compiler. Just do a search for writing to a file and it should give you a bunch of examples and explain everything for you.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
I haven't programmed c++ very much and I have troubles reading info fram a file.

I want the info in an array.

My MAP file looks sth like this:

00000000000
01110000110
01110001110
00000000000

Can anyone please help me and tell me a good way to do it.

// Klas

Share this post


Link to post
Share on other sites