What I need to do is to store the number 3 into my T integer, store ones into my alpha[3] array, and store the numers in the second column of r in my r[10] array.
I know I need the following:
1 2 3 4
ofstream myfile;
myfile.open("Data\1.dat", ios::out);
//What should go here?
myfile.close();
How can I parse the file so that I ignore the unneeded text (like "param T:="), and store only the needed text (like "3")? Thanks.