C question
I am currently doing an array which I am declaring like this:
char *array = {"string1", "string2"};
I can easily access the string "string1", but how would I easily access "string2"?
or just say
char *array[]={"String1","String2"};\
that way you can expand it as much as u want, without changin the number
- pouya
char *array[]={"String1","String2"};\
that way you can expand it as much as u want, without changin the number
- pouya
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement