Your code example is complete nonsense (at least if that's assumed to be c++) and your text does not really help much. Can you say this somewhat differently again?
Oh, and as a general rule: You usually don't need to mess around with engine code, just concentrate on your app...
I coded like that once, then, on my new computer, I decided to read up on programming a little bit. The house still smells like smoke from me trying to run that code......
pakata wrote:i cant return array of scene nodes....
it's problem.....
ex)in loader...
return *array_nodes
in main...
array_nodes = do3dsgroupload();
how do you create the array inside the loader ???
I guess you create it completely in that function and then you return the pointer to the array, but as far as you leave the loader the array will be destroyed (erased) and you return an invalid pointer...
so either you return the array (not the pointer) or you pass the pointer to an precreated array to the loader...