Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Learning C or C++ 2

Status
Not open for further replies.

rzs0502

IS-IT--Management
Nov 18, 2002
708
Hi,

I wish to learn the C language but cannot find a definite answer on whether to learn C, before learning C++

Currently, I dabble only in VB and PHP.

Thank you!
 
C++ is the C with Object Oriented Programming and a lots more, so you should start with ANSI C.
 
Thanks very much!

Much appreciated
 
Even though C++ includes pretty much all of C, they are two different languages. If you just want to learn C++, do not learn C first. Learning C teaches you many habits that are not appropriate in C++.

Of course, if you want to learn C, go ahead and learn C, but if you ever move to C++, I'd recommend learning that the C++ way and putting aside your C knowledge until you feel comfortable with how and when to use C features in C++ programs.
 
Let's remember what Stroustrup the Great wrote: no need to start with C if you want to study C++ (it's not a quotation; see The C++ Programming Language by B.S.). I agree with him (and with uolj too).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top