Search:
Forum
Beginners
storing variable & char ?
storing variable & char ?
Apr 12, 2009 at 3:22pm UTC
DoomCarnage
(40)
How do i store a variable as char and number? Do I have to use a string?
Apr 12, 2009 at 3:32pm UTC
Gumbercules
(209)
I'm not sure what exactly your asking, but I can say that chars are numbers in c++, for example you can do arithmetic. Using single quotation marks gives the ascii value
Apr 12, 2009 at 11:28pm UTC
MMZJSFMMX10MM
(29)
char variableNameHere;
int variableNameHere;
where as a string is:
string variableNameHere;
Use them like variables.
Apr 13, 2009 at 11:39am UTC
DoomCarnage
(40)
okay thank you
Topic archived. No new replies allowed.
C++
Information
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs