hi:
I have a .txt file that contains a persons name, their id number, and mark average.
can someone show me a sample c++ code that opens the file and reads it. i guess i have to use vectors for this assignment but i'm not sure how to do it.
filename= class.txt
bob Simmons --->name
1234------------>id number
67.8------------->average mark
Jane Doe
678
...