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++

17th Feb 2018, 10:57 AM
InfiniteFX
InfiniteFX - avatar
4 Respuestas
+ 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/
17th Feb 2018, 11:00 AM
Burey
Burey - avatar
+ 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.
17th Feb 2018, 11:17 AM
Ipang
+ 1
i think he is talking about character array with string as element
17th Feb 2018, 11:34 AM
‎ ‏‏‎Anonymous Guy
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.
17th Feb 2018, 12:23 PM
InfiniteFX
InfiniteFX - avatar