A place to discuss everything related to Newton Dynamics.
Moderators: Sascha Willems, walaber
by Julio Jerez » Wed Dec 02, 2009 8:12 am
- Code: Select all
#include <vector>
vector<int> xxx;
in teh abube code I get these error
c:\newton_200\newtonsdk\src\node.h(52) : error C2143: syntax error : missing ';' before '<'
c:\newton_200\newtonsdk\src\node.h(52) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
but I do not know what is wrong
-
Julio Jerez
- Moderator

-
- Posts: 12426
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by Dave Gravel » Wed Dec 02, 2009 11:38 am
You don't need stl and std for this one ?
#include <vector>
std::vector<int> xxx;
-

Dave Gravel
-
- Posts: 801
- Joined: Sat Apr 01, 2006 9:31 pm
- Location: Quebec in Canada.
-
by Julio Jerez » Wed Dec 02, 2009 12:20 pm
Ha yes I forgot ths I nee to add
using namespace std;
thank you.
-
Julio Jerez
- Moderator

-
- Posts: 12426
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
Return to General Discussion
Who is online
Users browsing this forum: No registered users and 3 guests