Difference between C and C++This is a featured page

Put simply, C++ is an extended C meant to improve safety, give the programmer more options, simplify higher level programming, and offer a better approach to large scale programming. C++ is also a larger language with more features and complexity than C, but C++ can improve productivity with its greater amount of features. A list of features that C++ supports which C does not includes:

  • Classes
  • Member functions
  • Constructors and destructors
  • Derived classes
  • Virtual functions
  • Abstract classes
  • Access control (public, private, protected)
  • friend functions
  • Pointers to members
  • static members
  • mutable members
  • Operator overloading
  • References
  • Templates
  • Inline functions
  • Default arguments
  • Function overloading
  • Namespaces
  • Exception handling
  • Run-time type identification
  • // comments
  • True const
  • Declarations as statements
  • Automatically typedef'd struct tags
  • Type safe linkage
  • new and delete
  • bool keyword
  • Safer and more robust casting


Mason(pkk)
Mason(pkk)
Latest page update: made by Mason(pkk) , Jan 24 2008, 8:32 PM EST (about this update About This Update Mason(pkk) Moved from: C/C++ Coding Pages - Mason(pkk)

No content added or deleted.

- complete history)
Keyword tags: None
More Info: links to this page
There are no threads for this page.  Be the first to start a new thread.