ifstream is;
is.open("graphic.txt", ios::in);
if(is.is_open())
{
while(!is.eof())
{
/*What this does. It reads in the values in readFile and puts them into temp line by line. */
getline(readFile,temp);
}//End while
is.close();
}
How do I insert these three values in my text file into x, y and z in my program ?
How do I get the location of each string ( 100 , 200 and 300 ) and how do I parse them to ints ?