Sunday, August 2, 2009

Can strings have multiple values?

in c++... im trying to program 1 string to have multiple values... so i wont have to create a million different strings... can i do that?? if so... how.... if not... are there any other simple ways to accomplish this??....

Can strings have multiple values?
A variable of any basic type -- string, integer, double, etc. -- can hold only one value at a time.





An array can hold multiple values of the same data type.





http://www.cplusplus.com/doc/tutorial/ar...


No comments:

Post a Comment