Skip to Content
Absolute Beginner's Guide to Programming, Third Edition
book

Absolute Beginner's Guide to Programming, Third Edition

by Greg Perry
November 2002
Beginner content levelBeginner
432 pages
11h 44m
English
Que
Content preview from Absolute Beginner's Guide to Programming, Third Edition

Learning C++

In the previous chapter, you learned about C's increment operator, ++, which increases a variable's value by 1 (one). C++ is an incremental improvement over C, hence its name. Much of a C++ program looks like pure C code, and it is just that. The C++ language does introduce some new language elements, but the keywords and structure are similar to C.

Most of C++'s changes from C are a result of injecting OOP technology. The primary differences between C and C++ aren't commands and keyword differences but rather how the language supports the use of objects.

There is disagreement as to whether it is best to learn C before C++. One side argues that learning C without dealing with the OOP issues makes it easier to learn C's mechanics; ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Absolute Beginner's Guide to Programming, Second Edition

Absolute Beginner's Guide to Programming, Second Edition

Greg Perry

Publisher Resources

ISBN: 0789729059Purchase book