I am really new to c++, however I am playing with it and would like to no how do I make a variable so it can be text. Like I know 'int' means whole number, but what is Character?
Chars in c++
Started by
liveman
, Sep 29 2005 05:42 AM
3 replies to this topic
#1
Posted 29 September 2005 - 05:42 AM
#2
Posted 29 September 2005 - 06:12 AM
I think you could use an string variable, or a char vector.
If u use the string, don't forget the #include <string>
Hope it helps
If u use the string, don't forget the #include <string>
Hope it helps
#3
Posted 30 September 2005 - 01:05 PM
Yeah, thanks it worked great! Now I just gotta create the visuals and I will have my first c++ program done..even though its crappy
#4
Posted 01 October 2005 - 03:27 PM
Glad to help
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users