for (int i=0; i<5; i++)
{
in >> course[i].studentID;
in.getline(course[i].name,29,';');
in.getline(course[i].progCode,6,';');
in >> course[i].semester;
for...
Type: Posts; User: Rinas
for (int i=0; i<5; i++)
{
in >> course[i].studentID;
in.getline(course[i].name,29,';');
in.getline(course[i].progCode,6,';');
in >> course[i].semester;
for...
I have fixed that.. It just happened after i copy-pasted that code.
Hi,
I am having problem with getting input from text file and display the output in another text file. My coding works like this. First it reads input from text file and store them in struct...