hi ...I am in a situation to scan a string (character by character).....i was doing it with cin
but i was asked to do it using "cstdio"....Code:
char c[maxedges][maxedges];
for(i=0;i<n;i++)
{
for(j=0;j<m;j++)
{
cin>>c[i][j];
}
}
plz help me to scan....wat shud i doCode:scanf("%c",&c[i][j]) dint work as expected
must be a silly question though