|
-
Aug 23rd, 2005, 02:40 PM
#1
Thread Starter
Frenzied Member
initializing a char? {Resolved}
Ok, I feel really stupid for not know how to do this, and I can't even find it on the internet.
I want to initialize either a char or a string to have the value "x".
I've tried several ways:
char player = "x"; //doesn't work
string player("x"); //doesn't work
What am I doing wrong??
Last edited by System_Error; Aug 23rd, 2005 at 10:22 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|