Posted By: 3Dski
How can I work with a STRING* [ ]? - 03/17/07 20:13
I can declare a STRING* array, but cannot seem to use the LiteC string functions on the elements. I did discover that I can simply initialize an element using "=". But, if I try to use str_cat() to append to any of these:
Code:
I get "Invalid arguments in LiteC." What are the rules for working with arrays of type STRING*?
Code:
STRING* mystrings[2];
mystrings[0] = "some string";
mystrings[1] = "another";
...
str_cat( mystrings[0]," one");
I get "Invalid arguments in LiteC." What are the rules for working with arrays of type STRING*?