Original Post
Hi,
I just switched from Borland to Microsoft compilers, and I am having a small problem. Here''s a code example:
#define WND_NAME_LENGTH 21;
class MainWindow : public Window{ // my generic windows higharchy
private:
static char szClassName[WND_NAME_LENGTH];
...
Anyway it says there a missing '']''. (Codes C2143, 2059, and 2238)
Now, I can put a const int in there and it accepts it fine, but I prefer to use the #define.
Thanks,
·†§ Nick §† ·