Thread: Difference between C and C++

  1. #1
    Registered User
    Join Date
    Jan 2008
    Posts
    19

    Difference between C and C++

    I am new to C and am curious about the difference between C and C++. I have been php programming for 6 months and recently started a C class for college.

  2. #2
    Registered User
    Join Date
    Oct 2006
    Location
    Canada
    Posts
    1,243
    the main difference between C and C++ is that C++ is an object-oriented language. there is an exhaustive source of information about the two languages online. to get complete details please check it out.

  3. #3

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    They're two different languages which happen to share a common ancestor.
    http://david.tribble.com/text/cdiffs.htm
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  5. #5
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    or in UML terms:
    Code:
    C <--- C++

Popular pages Recent additions subscribe to a feed