For what you want to do, yes, an array of pointers to the first characters of string literals is probably best. Instead of your rather long code, I would implement a shuffle, then pair the first half...
Type: Posts; User: laserlight
For what you want to do, yes, an array of pointers to the first characters of string literals is probably best. Instead of your rather long code, I would implement a shuffle, then pair the first half...
It has the same idea as what MK27 suggested, but is C++, not C.
It would be good if you stated what the program was supposed to do.
I applaud Exorcist's aim to actually learn:
As for you, refer to my reply to you in this thread.