Irrlicht3d.org
::
Blog
|
About Me
|
Twitter
Add comment for
Returning an Array in Managed C++
Posted by:
Enter the missing letter in: "Inte?national"
Text:
[quote][b]Duncan Mac Leod[/b] wrote: ...if we are talking about Managed(!!) c++ why not use array<System::IntPtr^>^ myArray = gcnew array<System::IntPtr^>(myArraySize); and use it like: myArray[1] = (System::IntPtr)device->getSceneManager()->addAnimatedMeshSceneNode(...); or: ((irr::scene::ISceneNode*)myArray[1]->ToPointer())->setMaterialTexture(...); It works ;-) ! ...just waiting for a c++ guru's comments that *REAL* (loool) men do not use managed c++ - of course, *REAL* men are using a stone axe or a thingie called 'vi' ;-) ![/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons