how come when i do this:
it gives me an error..Code:char *facename = "Arial";
LOGFONT lf;
lf.FaceName = facename;
thanks
Printable View
how come when i do this:
it gives me an error..Code:char *facename = "Arial";
LOGFONT lf;
lf.FaceName = facename;
thanks
What error are you getting?
stuff similar to this
cannot convert from 'char [6]' to 'char [32]'
does it give you that error when you declare the char or when you try to set the FaceName to "facename"(Arial)?
use strcpy