Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » Arrys vs Vectors
Re: Arrys vs Vectors [message #30389 is a reply to message #30380] Mon, 27 December 2010 13:29 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
281264 wrote on Mon, 27 December 2010 05:51

Thank you for your answers and advises.

Regarding DUMPC et al. I am getting used to them and find DUMPC and Logfile very useful. It works very well, thanks. Remark: By the way,

**Query: what are DUMPCC, DUMPCCC and DDUMPC for?. So far I only know DUMP and DUMPC.



DUMPCC is for dumpning container of containers...


Quote:


Another question more related to C++: the usage of pointers and Arrays of pointers as class member variables is difficult to me for things like s%*p1…. In Serialize function does not work.



Well, the U++ way is to try to avoid pointers as much as possible...

Why not use proper objects instead?

Quote:


**Query: if I have an Array<ptr*> as a variable private member of a class, does it work? Is it any limitation in the NTL containers for being used as containers of pointers to classes as member variables of a class?



No. Just you have to keep in mind that the object then in container is pointer... Smile

Also, if you need to store pointers, Vector<ptr*> is most likely the better option.

Quote:


Regarding DeepCopyOptionness I am using it in all my classes for I find it very useful.

**Query: Does it penalize or increases the complexity of the code in any way whatsoever?



DeepCopy _Option_ is definitely fine as it is only used explicitly.

Still, I surprised you are using that so much. I found using myself the deep-copy-option quite rarely.

Quote:


**Query: Is there any way to preserve the U++ personal configuration between installations?



I guess once you get accustomed, you will start recompiling theide based on svn - then you just replace theide.exe and keep configuration.

I guess the "U++ installation" should perhaps rather be considered to be "U++ starter pack" Smile

Mirek

[Updated on: Mon, 27 December 2010 13:30]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: asxml...or like I would like to keep encoding...
Next Topic: :( errors on sfx project
Goto Forum:
  


Current Time: Tue Aug 26 12:08:29 CEST 2025

Total time taken to generate the page: 0.04747 seconds