[LC++] filling char* arrays
julien at c-lab.de
Fri Jun 20 07:05:59 EST 2008
Thyis is not strictly c++, although it is embedded in c++ code.
I want to dynamically fill a char pointer array, how best to go about it?
The array is one or two elements long, should I just go for:
buttons = strdup("Yes");
Or what should I do? I have to fill the array depending on an if-statement.
Thanks in advance for any good, practical tip.
Music was my first love and it will be my last (John Miles)
======== FIND MY WEB-PROJECT AT: ========
the Linux TextBased Studio guide
======= AND MY PERSONAL PAGES AT: =======
More information about the tuxCPProgramming