I cannot compile my programming..abnormal programming..anybody whi knows where is my mistake?
{
int count, k;
{
count=0;
myfile<<"i,j|";
for ( int i = 1 ; i < students.size (); i++ )
for ( int k = 1;k<students.at(i).examcode.size(); k++ )
{
count=0;
for (int colHead = 1; colHead <students.at (i).examcode.at(k) ; colHead++)
{
myfile << setw(3) << colHead;
myfile << endl;
myfile <<"__________________________________"<<endl;
}
}
for (int rowVal = 1; rowVal < students.at (i).examcode.at(k); rowVal++)
{
myfile << setw(3)<< rowVal <<'|';
for (int colVal =1; colVal < students.at (i).examcode.at(k); colVal++)
myfile<< setw(3)<<"x";
myfile <<endl;
}
}