Click here to Skip to main content
15,909,325 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Avoid flickering... Pin
.::RockNix::.28-Jan-02 23:54
.::RockNix::.28-Jan-02 23:54 
GeneralRe: Avoid flickering... Pin
Braulio Dez29-Jan-02 0:22
Braulio Dez29-Jan-02 0:22 
Generalnew delete question Pin
alex.barylski28-Jan-02 20:11
alex.barylski28-Jan-02 20:11 
GeneralRe: new delete question Pin
Fredrik Skog28-Jan-02 20:32
Fredrik Skog28-Jan-02 20:32 
GeneralRe: new delete question Pin
alex.barylski28-Jan-02 20:47
alex.barylski28-Jan-02 20:47 
GeneralRe: new delete question Pin
Joaquín M López Muñoz28-Jan-02 21:18
Joaquín M López Muñoz28-Jan-02 21:18 
GeneralRe: new delete question Pin
alex.barylski28-Jan-02 22:10
alex.barylski28-Jan-02 22:10 
GeneralRe: new delete question Pin
Joaquín M López Muñoz28-Jan-02 22:26
Joaquín M López Muñoz28-Jan-02 22:26 
So i've heard and yes I certainly have, but for the time being i'm keeping with what i have and i'll see what comes of it.

Believe me, the learning curve for STL is not that steep, and the payoff is worth the effort. Consider this: As soon as you start using objects with nontrivial constructors and want to have arrays of them, then you will no longer be able to use malloc and have to resort to either new/delete or STL containers (that's where you are now). What's the point of mastering the intricacies of manual memory management when STL does the job for you? After all it's just about learning one of two methodologies, and the second is by far the most profitable.

I'm actually doing something quite similar with templates, designed from the ground up.
Call me stupid, but i enjoy playing with things that aren't broke;P


I think playing with these things is an excellent way to learn the language. When it comes to writing production code, though, it is better to rely on standard libraries.

p.s-I've heard and read little of these vectors, so correct me if i'm wrong, but basically there templates with automatic reallocation as needed. Magically index any location and whola it's available..?

No, for vectors you have to indicate resizing explicitly. Other STL containers called maps work sort of like you say. Hey, type "STL tutorial" on your web searcher and enter STL paradise! You will not regret having done it Wink | ;)

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
GeneralRe: new delete question Pin
alex.barylski28-Jan-02 22:51
alex.barylski28-Jan-02 22:51 
GeneralRe: new delete question Pin
Roger Allen29-Jan-02 1:26
Roger Allen29-Jan-02 1:26 
GeneralRe: new delete question Pin
alex.barylski29-Jan-02 10:14
alex.barylski29-Jan-02 10:14 
Generalcolor palette Pin
Steve L.28-Jan-02 18:02
Steve L.28-Jan-02 18:02 
GeneralRe: color palette Pin
Derek Waters28-Jan-02 18:05
Derek Waters28-Jan-02 18:05 
GeneralRe: color palette Pin
Steve L.29-Jan-02 6:12
Steve L.29-Jan-02 6:12 
GeneralCRichEditCtrl and Dialog App Pin
Matt Newman28-Jan-02 15:18
Matt Newman28-Jan-02 15:18 
GeneralRe: CRichEditCtrl and Dialog App Pin
Matt Gullett28-Jan-02 15:43
Matt Gullett28-Jan-02 15:43 
GeneralRe: CRichEditCtrl and Dialog App Pin
Matt Newman28-Jan-02 16:28
Matt Newman28-Jan-02 16:28 
GeneralRe: CRichEditCtrl and Dialog App Pin
Mazdak28-Jan-02 22:47
Mazdak28-Jan-02 22:47 
GeneralRe: CRichEditCtrl and Dialog App Pin
Mazdak28-Jan-02 22:52
Mazdak28-Jan-02 22:52 
GeneralRe: CRichEditCtrl and Dialog App Pin
Braulio Dez29-Jan-02 0:24
Braulio Dez29-Jan-02 0:24 
GeneralRe: CRichEditCtrl and Dialog App Pin
Mazdak29-Jan-02 18:22
Mazdak29-Jan-02 18:22 
GeneralParsing IP Addresses and Domain Names Pin
Jean Louis28-Jan-02 15:15
Jean Louis28-Jan-02 15:15 
GeneralRe: Parsing IP Addresses and Domain Names Pin
markkuk28-Jan-02 19:41
markkuk28-Jan-02 19:41 
GeneralRe: Parsing IP Addresses and Domain Names Pin
Jean Louis29-Jan-02 6:50
Jean Louis29-Jan-02 6:50 
Questionimplement button on docking Dialogbar? Pin
28-Jan-02 13:45
suss28-Jan-02 13:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.