It is. I have a rough time with code not in code tags.
Let's redo the variables to something more meaningful. Row and col for their respective indices, c for char, and len for the total length...
Type: Posts; User: Adak
It is. I have a rough time with code not in code tags.
Let's redo the variables to something more meaningful. Row and col for their respective indices, c for char, and len for the total length...
Because of the logic that is used -- not quite right.
First, where is the 2D char array? I don't see one. Or do you just want it printed up in rows, like you show for the output, above?
@Salem...
Please use code tags when posting code!
You want the first row to be "abcd", second row to be "efgh", third to be "ijkl", in a char array?
You seem to have the algorithm basically set up. I'm...