• Advertisement
Sign in to follow this  

weird pointer errors in vs 2010

This topic is 1988 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hey there,

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

Share this post


Link to post
Share on other sites
Advertisement
You didn’t include whatever file declares MyNetCallback.
If you feel you did, you need to post the contents of that file so we can see what is wrong with it.


L. Spiro

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement