2D char array

Dec 3, 2011 at 3:06pm
I had been given a project

i want to enter 2D array by using getline function to sort lines.....

how i can do it?
Dec 3, 2011 at 3:10pm
it is must looked something like this

char str[10][10];

for( int i=0 ; i<10 ; i++)
cin.getline( str[i] );
Dec 4, 2011 at 9:32am
oh....here comes another problem......
c++ is not executing the program.....
a statement comes out when i run it.....Can Not Initialize the Debugging Subsystem
Topic archived. No new replies allowed.