G
Gernot Frisch
Hi,
I can define a class C that can handle a const char* and provide an
operator:
C:perator string() const;
can I define such a cast operator for const char* instead of class C??
--
-Gernot
int main(int argc, char** argv) {printf
("%silto%c%cf%cgl%ssic%ccom%c", "ma", 58, 'g', 64, "ba", 46, 10);}
________________________________________
Looking for a good game? Do it yourself!
GLBasic - you can do
www.GLBasic.com
I can define a class C that can handle a const char* and provide an
operator:
C:perator string() const;
can I define such a cast operator for const char* instead of class C??
--
-Gernot
int main(int argc, char** argv) {printf
("%silto%c%cf%cgl%ssic%ccom%c", "ma", 58, 'g', 64, "ba", 46, 10);}
________________________________________
Looking for a good game? Do it yourself!
GLBasic - you can do
www.GLBasic.com