answersLogoWhite

0

Object-oriented programming (OOP) would have to be top of the list of important topics in C++, since OOP constitutes a major portion of all C++ programs. The C++ standard library is heavily reliant upon OOP. Templates are the next most important topic, as these allow you to write code in a more generic manner. The C++ standard template library (STL) relies heavily upon templates. The closer you stick to the standard library, the easier it is to port code between compilers. However, familiarity with the correct usage of macros will aid in writing portable cross-platform code.

Whilst learning these topics you will be introduced to C-style programming. It is not necessary to know C before learning C++ (indeed, it is better to not know C at all), however the C++ built-in types (primitive data types) are primarily inherited from C. C itself is a low-level language, but C++ is every bit as efficient. Thus it is best to get into the habit of writing good C++ code first, and using C only where it is deemed necessary.

User Avatar

Wiki User

10y ago

What else can I help you with?