Thread
:
char to string in C++
View Single Post
Feb 16th, 2006, 11:42 PM
#
1
titaniumdecoy
Expert Programmer
Join Date: Nov 2005
Posts: 928
Rep Power:
4
char to string in C++
How do you initialize a string as a character in C++?
In Java you would use:
char c = 'c';
String str = Character.toString(c);
Also, how do you convert a character to a string in general?
titaniumdecoy
View Public Profile
Visit titaniumdecoy's homepage!
Find More Posts by titaniumdecoy