I get this message when compiling C++ on gcc 4.3
error: ‘NULL’ was not declared in this scope
It appears and disappears and I don\'t know w
You can declare the macro NULL. Add that after your #includes:
#define NULL 0
or
#ifndef NULL #define NULL 0 #endif
No ";" at the end of the instructions...