Switching from C to C++

Switching from C to C++
PrerequireSome understanding of C and C++
ExperienceIntermediate
Lesson Description
Differences between C++ and C
What you will learn
  1. How C++ is different from C

Some believe that learning C++ is easy and suggest learning C before learning C++, while other people disagree and believe that if your intention is to learn C++ that you are better off learning C++ directly rather than trying to learn C first. Switching from C to C++ can be both easy, as there are many similarities between the two languages, and hard, as there are many differences that require forgetting what you know and habits that you may have developed from programming in C.

Differences

Thinking in C++

If you are previously a C programmer and have decided to switch to C++, you should throw away some C concepts and get used to the C++/OO way of doing things:

This article is issued from Wikiversity - version of the Monday, April 13, 2015. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.