I guess I am a bit puzzled by the syntax. What does the following mean?
typedef char *PChar; hopeItWorks = PChar( 0x00ff0000 );
It is equivalent to (PChar) 0x00ff0000 or (char *) 0x00ff0000. Syntactically think of it as invoking a one-argument constructor.
(PChar) 0x00ff0000
(char *) 0x00ff0000
2.1m questions
2.1m answers
60 comments
57.0k users