Lecture overview -- Keyboard shortcut: 'u'  Previous page: C/C++ Compatibility [Section] -- Keyboard shortcut: 'p'  Next page: C/C++ Compatibility - some small details -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  slide -- Keyboard shortcut: 't'  Help page about these notes  Alphabetic index  Course home  Lecture 1 - Page 28 : 29
Notes about C++
From C to C++
C/C++ Compatibility

Quotes from The C++ Programming Language:

With minor exceptions, C++ is a superset of C (meaning C89)

Well-written C programs tend to be C++ programs as well

  • The C++ Programming Language: Page 816
 

  • Keywords

    • Many new keywords in C++ relative to C

    • Such keywords may be used as identifiers in some C programs

  • A number of small differences

    • Almost all of these represent poor style if they appear in C programs

    • Selected small differences at the next slide

Appendex B.2 in The C++ Programming Language deals with this topic