Creating a Vector Array + Reading a file

Last edited on
//did I even create the vector right??
You already have the vector. It was passed three lines before.

//No clue what I am opening. The link really doesn't say what.
Does argument name fileName says anything to you?
ifstream inFile; ("");
^Error here
Change to: std::ifstream inFile(fileName);

//did I do the read right? Doesn't seem like
There is no std::getitem() function. You ned to write one yourself. Also there is no declared item variable

I just did not know what I am doing or what I should be doing
You might want to go back to the basics. This is currenly clearly above your level.
Topic archived. No new replies allowed.