News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

wxObjArray or std library?

Started by ouch, December 29, 2013, 01:51:58 PM

Previous topic - Next topic

ouch

I'm revamping the virtual targets dialog similar to what I did for the re-order one. In fact I added a re-order button on the virtual targets dialog, but I'm at the point where I need to apply the changes to the project. I come to the conclusion that the fastest way to do this is to store all the virtual targets and their data into a multidimensional array, then wipe all the data, and re-create it in the right order.

So to create that multidimensional array I'm either going to have to use wxObjArray or the standard library. I was wondering what the codeblocks team preference is on the matter.

MortenMacFly

Quote from: ouch on December 29, 2013, 01:51:58 PM
I was wondering what the codeblocks team preference is on the matter.
Non specific. If you intend to change the core, STL would be fine on a long-term perspective.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

ouch

heh, Just noticed that the std lib is used to create the multidimensional array that the virtual targets are stored in internally... And that it's created and stored with std::map... So no re-ordering of the virtual targets is even possible in the first place... :(