i was programming some network stuff and i went to complie and i was met with this message, could you help me becuase i see nothing wrong with my initialization of a pointer:
#include "main.h" #include <irrNet.h> MyNetCallback* netCallback = 0; net::INetManager* netManager = 0; int ping = 100; //miliseconds will be calulated later core::vector3df playerPosition; core::vector3df playerAnimation; //no idea how to implement this yet
Error 1 error C2143: syntax error : missing ';' before '*' Error 2 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 7 Error 3 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int Error 4 error C2061: syntax error : identifier 'MyNetCallback'
thanks guys, this forum is awesome