i revised my code to
Code:
int j;
int i=0;
cout<<"cols="<<cols<<endl;
cout<<"rows="<<rows<<endl;
cout<<endl;
do{
j=0;
cout<<"Number at position "<<i<<","<<j<<" is ";
matrix[i][j]=readFloat("",true);
do{
j++;
if(j=cols)
{i++;}
else
{cout<<"Number at position ("<<i<<","<<j<<") is ";
matrix[i][j]=readFloat("",true);}
}while(j!=cols);
}while(i!=rows);
and am not getting outputs for the first column
[has value][no value]
[has value][no value]
[has value][no value]
small progress, but knowing my luck, i may have taken a step backwards