0
Could anyone help me, please that how to make a string array in c++ that can contain any string?
any string array in c++
4 Antworten
+ 8
there's the string class
http://www.cplusplus.com/reference/string/string/
or if you need to implement it yourself, try getting some inspiration here
http://www.cplusplus.com/forum/beginner/15396/
+ 8
What do you mean by "string array that can contain any string" here?, do you mean any (unlimited) number of elements? need more detail on the question, I'm not understanding it clearly.
+ 1
i think he is talking about character array with string as element
0
I mean with it that i'm making a compiler and at the parser, i would like to define how to handle local variations. Well, a local variaton's name could be anything.