copying info from file to vector array
Hi Guys
Could someone help me with the problem, I am trying to read string data from a file to a vector, but keep getting this error, line of code is below.
1 2
|
custfile.getline( string tempname,255)
Mname.push_back(tempname)
|
Keeps coming up with error in visual studio. Error C2664 ?
Any help would be appriciated :)
It would help if you posted the full error as generated by the compiler. You can't expect us to go lookup C2664.
Topic archived. No new replies allowed.