X
Xohaib
Let i have a 2d character array.
=====================
char array[5][25];
array[2]="\0";
for (int i=0; i<5; i++)
{
cout<<"Enter the value ";
cin>>array;
}
for (int j=0; j<5; j++)
{
cout<<array[j]<<endl;
}
=======================
will it get input in array[2] ?
i have done this but it gave me error to debug....
please help;
and how can i sort more than one 2D arrays??
i tried but it sort only one array but it also gave me error to
debug...
Please help ..........
REGRADS:
Xohaib
=====================
char array[5][25];
array[2]="\0";
for (int i=0; i<5; i++)
{
cout<<"Enter the value ";
cin>>array;
}
for (int j=0; j<5; j++)
{
cout<<array[j]<<endl;
}
=======================
will it get input in array[2] ?
i have done this but it gave me error to debug....
please help;
and how can i sort more than one 2D arrays??
i tried but it sort only one array but it also gave me error to
debug...
Please help ..........
REGRADS:
Xohaib