C/C++ >> char problems
Posted by dxprog on 03:09:00 11-03-2002
I have had the worst time when using character variables in C++, mainly when I need more than 1 character in my variable. If someone could help me that would be great. [addsig]
Posted by Neu[Mann] on 06:14:00 11-04-2002
Dude, post more info please. I've got no clue what your is problem by reading what you wrote.
Posted by dxprog on 06:48:00 11-04-2002
I want to use more than one character in my char variable. I've seen arrays used, but I can't seem to get it to work for me. Like such:

char stringVar[255];

When I try to use such a variable to get input (cin [ This Message was edited by: Maltanar on 2002-11-04 19:07 ]
Posted by dxprog on 23:56:00 11-04-2002
That was just a typo. [addsig]
Posted by KaGez on 20:14:00 11-06-2002
it worked like that for me before :/
I have no idea why it wouldn't work for you.... what C++ are you using by the way?
[addsig]
Posted by dxprog on 20:17:00 11-06-2002
I was probably putting the brackets in there. I'm using VC++ 4 [addsig]
Posted by dxprog on 02:35:00 11-09-2002
I think things are finally making sense. Thanks for the help. [addsig]