• Advertisement
Sign in to follow this  

Read Data from Txt file

This topic is 3028 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

I want to create a tile based map with the map data stored in a file the program will read the data one unit at a time and store the char in an array of files example: file1.txt "wwwggww" in the program I want to do something like: file.open("file1.txt"); for (int i = 0; i < 7; i++) file >> tiles; I don't know how to do this in C#

Share this post


Link to post
Share on other sites
Advertisement
thanks, the streamreader part through me off. I was looking for methods under filestream and wasn't finding it.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement