initilize a variable to a blank character
Aug 15, 2010 at 4:42pm
hi..
how do I initialize a variable to a blank character;
I tried char z = " ";
but keep receiving this -- error C2440: '=' : cannot convert from 'const char [2]' to 'char'
I am writing a program on functions..
Aug 15, 2010 at 4:51pm
double quotes are used for strings.
single quotes are used for chars.
Topic archived. No new replies allowed.