~Rick wrote:
> I'm an old C programmer, trying to learn/convert to C++. I initially 
> was using malloc/free but decided I should be using new/delete 
> instead. I'm probably doing the whole C++ thing all wrong. Maybe I 
> should start from scratch.
> 
> ~Rick

Old C programmers have difficulties moving entirely to C++.  I still 
prefer printf() over 'cout'.  I initially learned C++ and then went back 
to C for several more years adapting object-oriented methodologies to my 
C code...until I ran into some restriction of C that would have resulted 
in void pointers and multiple casts and I just decided it was simpler to 
just use C++.  Since I already had object-oriented programming under my 
belt and had previously learned C++, the transition was fairly painless.

An old C++ book I obtained from way back before C++ was standardized 
(and Turbo C++ was still considered "hot"/"current" in the geek world) 
said one thing that I still remember about learning C first, "You will 
have to unlearn many things from C before you can learn object-oriented 
programming, and, in particular, C++."  Or something like that.

-- 
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197

*NEW* MyTaskFocus 1.1
Get on task.  Stay on task.

http://www.CubicleSoft.com/MyTaskFocus/

Reply via email to