its initialised
Code:char num_students[MAXCHARS];i get the right number .. but.. i then need to use num_students. in a for loop.. but wont let me.. cause its a char..Code:inFile.getline(num_students,MAXCHARS, ' '); inFile>>num_students; cout << "Number of Students" << num_students <<endl;
i change it to int.. but it doesnt work..
how to i just pull one integer from a file..
thanx