Calling A Text File

Mar 17, 2017 at 2:57am
Hello everyone I wanted to know how to call a text file into my code and then how to take the text from the text file and separate the information into columns. Any information helps because I am quite lost right now.
The text file looks something like.
Name_____GradeOne____GradeTwo
Bob_______60___________77
Steve_____76___________92
Jack______89___________95
Tim_______36___________42
Last edited on Mar 17, 2017 at 2:57am
Mar 17, 2017 at 3:04am
Here's an example doing just what your asking about.
Read the first post and last one I just posted.
http://www.cplusplus.com/forum/beginner/211117/

If you want more help post your code pls.
Topic archived. No new replies allowed.