I want to create an array of nodes in a class of my application.
Into the .h file of the class I have:
Code: Select all
core::array<scene::ISceneNode*> arrayNodes;
Code: Select all
this->arrayNodes = new core::array<scene::ISceneNode*>::array(10);
I get this compile error:
Code: Select all
1>h:\apli\src\apli.cpp(24) : error C2061: syntax error : identifier '{ctor}'
If I execute the application without initializing the array, the application breaks when it acced to the class.
How should it be created?
Thanks