I currently have the lines of code ->
ifstream save1("save1.txt", ios::in); //initializes file
for (int k=0; k<10; k++) {save1>>name1[k];} //Pulls in the code, works fine
for(int i=0;i<10;i++) {if(name1[i]){render_the_name(//PS this works okay)}} //If the file was true then print out its name
My problem is this, the code pulls the name out of the file but I need it later
How do I use 'read' or is there another method to read an arary of numbers without affecting them.
PS If it helps the raw code is written like -> 0 12 65 16 32 etc.