Yeah,
I'm programming in C here, but anyone can help.
I don't understand how to work with an array of strings (2D array of chars).
I'm trying to send them into functions and use them, but when I compile and run the program I get this HUGE HUGE HUGE pile of crap that scrolls the window down like 25 pages.
The program itself is really simple, just a merge sort. I just don't know how you send an array of strings into a function as a parameter.
Neither, strings** or strings[][] are working. Strings** doesn't seem like it makes sense, but strings[][] seems like it should work, but it doesn't.
Someone help <_<.
I'm programming in C here, but anyone can help.
I don't understand how to work with an array of strings (2D array of chars).
I'm trying to send them into functions and use them, but when I compile and run the program I get this HUGE HUGE HUGE pile of crap that scrolls the window down like 25 pages.
The program itself is really simple, just a merge sort. I just don't know how you send an array of strings into a function as a parameter.
Neither, strings** or strings[][] are working. Strings** doesn't seem like it makes sense, but strings[][] seems like it should work, but it doesn't.
Someone help <_<.


Comment