On Tue, Oct 28, 2008 at 6:39 PM, Andre Fecteau <[EMAIL PROTECTED]> wrote:
> I was considering learning C++ from the start, but someone told me I should
> have a pretty good
> handle on the basics at a minimum of C before I start messing with C++.
>
> I figured C++ was an extension of C, so it sounded good to me. You don't
> think I need to learn C first?
Nah. Learn C++, if you are interested in application development. C++
does just about everything C and more. Most C programs will compile as
C++ (most, I say, there are exceptions), but C++ makes it easier to
allocate (and deallocate) dynamic memory, provides better ways for
building data structures, and so on. And if you've had the "pleasure"
of doing object-oriented Perl programming, you will find C++'s way of
doing objects even cleaner.
If you use something like SWIG, I believe you can even write Perl
extensions in C++ (otherwise you have to use the older XS interface
and C).
-- Brett
------------------------------------------------------------
"In the rhythm of music a secret is hidden;
If I were to divulge it, it would overturn the world."
-- Jelaleddin Rumi