What is C and C ++

Learn C ++ programming

If you are thinking of learning the C ++ programming language, you will find basic information here to make your decision easier. C ++ is a further development of the programming language C. Bjarne Stroustrup, Professor of Computer Science at Texas A&M University, has been working on the expansion and improvement of C ++ since 1979. From 1998, standardization took place according to the ISO / IEC 14882 standard.

C ++ is machine-oriented and very efficient. The language is great for programming games and desktop applications. It owes its efficiency to an extensive range of language elements and theoretical concepts that you first have to work out. You should plan enough time for this and be patient. There are languages ​​that are easier to learn, but it's worth the effort. Once you have learned C ++, you will also find your way around other programming languages ​​very quickly.

Table of Contents

Why should you learn the C ++ programming language?

C ++ is one of the most popular programming languages ​​for system and application programming worldwide. There are many reasons for that. Above all, the possibilities to manage the storage space efficiently and to achieve short runtimes are advantageous. This is why many operating systems and applications have been programmed in C in the past. The further development of C ++, which is compatible with C, allows the existing programs to be adapted to new requirements and is recommended for new programs that are to run on the established operating systems.

C ++ is a solid foundation

C ++ is also one of the most important programming languages ​​in the world because it has numerous language resources and is extremely powerful. This means that it provides fully developed program parts that you can incorporate into your program. Other programming languages ​​have adopted many elements from C ++. If you can program with C ++, you will find these elements in the other languages ​​and familiarize yourself easily.

Native programming

All programs must be converted to machine language before they can run. After all, your computer only understands zero and one, which it can logically link with one another. This compilation, or to be more precise, compilation, takes place directly in native programs. Other programs, such as C # or Java, use an intermediate code that is only interpreted when the program is executed. For this you would also need the .NET Framework or Java on your computer. With native programming, you save yourself this unnecessary complication and you can concentrate on the essentials.

Conditionally easy entry

As a beginner, getting started with C ++ is relatively easy if you simply neglect the advanced techniques at first. You learned to read and write simple words with just a few letters before you mastered the entire ABC. If you concentrate on commands and control structures in the beginning, you will be better able to learn the basic and advanced concepts of object-oriented programming later on.

Numerous libraries and resources are already available

In addition to the extensive possibilities for programming, C ++ also offers numerous libraries with universally applicable subroutines that save you a lot of work. For example, you can use the cross-platform Qt library with the IDE Qt Creator to access databases and design user interfaces (GUIs, Graphical User Interface). IDE stands for Integrated Development Environment. This gives you tools that relieve you of formal tasks and give you more time for the actual program development.

Good job and salary prospects

The ability to program with C or C ++ can really pay off. Software developers in this field are urgently needed, especially in Berlin, Munich and Hamburg. The online job platform StepStone, which specializes in specialists and executives, had over 50,000 vacancies for C / C ++ programmers in summer 2020.

In a job as a C / C ++ software developer, you can expect an average salary of EUR 51,000 per year. The maximum income is EUR 61,100. The lower limit is around EUR 43,300 (source). By far the highest salaries are paid in the USA. There, a salary of 90,000 EUR is usual for employees with C ++ knowledge (source).

Differences between C and C ++

  • C ++ was developed from the general-purpose language C in the early 1980s.
  • C supports structured programming with variables, structures and functions. It works through procedures on the basis of instructions, so it is intended for imperative programming.
  • With C ++ you can also program object-oriented. Interactions and relationships can be described by translating real objects, their relationships to one another and their interdependencies into the programming language with the help of abstract objects. C ++ also offers preprocessor macros and templates for generating codes that lead to higher performance.
  • Another difference is that C ++ uses different file extensions in the header and source code. Header files simplify the handling of large programs. This is where variables are agreed and source codes are stored that can be accessed by several program parts or programs that belong together.

Typical areas of application and examples

The advantages of C ++ are mainly used in large systems and systems with scarce resources. The areas of application include comfortable user interfaces and complex applications or games. C ++ is also of great importance for embedded software solutions that monitor and control complex technical systems.

The most popular applications written in C ++ include Apple OS X, Adobe Photoshop, Mozilla Firefox and the MySQL database software.

Start with C or C ++?

Whether you better learn C or C ++ first depends on what you want to program, what previous knowledge you have and how much time and patience you want to invest in the project.

For those who are completely new to programming, C is more recommended. This programming language contains fewer language elements, so it is quicker to learn. If you can master C, you already know a large part of C ++. For hardware-related programs or programs for a micro controller, you only need the elements that C makes available anyway. In addition, almost every platform has a compiler for C.

Learning C ++ takes more time and patience. There are also more options available for large programs. When switching from C to C ++, you can build on your knowledge. The opposite way means that you have to find out what doesn't work with C. If you later want to write a program for a processor that only has a compiler for C, there are numerous sources of error.

Where can I learn C ++ programming?

There are countless places to go online if you want to learn C ++. The choice can be a bit overwhelming, however. So I have the best (German-speaking) courses and content collected in the following section.

Personally, I think a lot of the online courses and, for example, taught myself JavaScript with two such courses at udemy.com.

Learn C ++ in online courses

The main advantage of professional, paid online courses is that higher quality. The information is structured and well thought out. The learning content is always and everywhere available and can be repeated or paused as often as you like so that everyone can learn at their own pace. In some cases there is also additional learning material. With some providers there is also a certificate of completion.

Edley - Learn C ++ - Complete Course

The C ++ complete course from Edley.de is aimed at prospective programmers, students and employees in companies who want to continue their education. The course was developed by Harald Angles and Janis Gösser and brings the participants C ++ step by step and in practice at.

The Course is very extensive and contains a lot in addition to numerous text content Video material and projects which will be implemented during the course. However, the course will begin Suitable for beginners with the C ++ basics.

You can choose between two course variants. The standard version of the course does not contain a certificate of completion, this is only available at an additional cost.

Udemy.com - C ++ Bootcamp: From Beginner to C ++ Developer!

Jannis Seemann's C ++ Bootcamp comprises a total of 19 hours of video learning material, 15 written articles, 135 additional materials and 4 extra programming exercises. In the course you learn everything you need to get started with C ++ and a lot of information that goes beyond that.

More than 15,500 participants have booked this course so far. With a rating of 4.6 out of 5 points from 2,200 ratings this course is the bestseller on udemy.com among the C ++ beginner courses.

Tip: Udemy regularly offers discounts for new customers so that you can save a lot.

Learn C ++ at a distance university

Some distance universities also offer courses to certified C ++ programmer via distance learning to become. As a rule, the costs for distance learning are of course somewhat higher, but the quality of the courses should also be high. Another benefit is that too certificate, which is awarded by the distance universities and recognized by employers becomes.

C ++ books

C ++ programming for beginners: The easy way to become a C ++ expert

Michael Bonacina's C ++ Beginner's Book provides all information about the basics of C ++ and many more in-depth lessons. It is aimed at beginners without prior knowledge. According to the author, after working through the book you will be able to write your own C ++ applications.

With a rating of 4.4 out of 5 from 312 ratings it is the best-rated book on the topic on Amazon.de.

Learn C ++ with Youtube Videos

Since C ++ is one of the most popular programming languages, there are also many good German-language tutorials and courses for beginners on YouTube. I found the “Pilzschaf” tutorial to be the most comprehensive and up-to-date in the German-speaking world. To more than 72 videos Distributed here you get a lot of knowledge that sometimes goes far beyond the information from other tutorials.

FAQ: Frequently asked questions about C ++

How hard is it to learn C ++?

With little previous knowledge, you can learn C ++ quickly enough to create good programs for manageable applications. You need time and patience for complex work. Other programming languages ​​such as Java or Python are less demanding.

What can you program with C ++?

C ++ does everything that other programming languages ​​can do with access to external libraries.

Is C ++ Obsolete?

C ++ is constantly being developed. The last version is C ++ 17. C ++ 20 is in preparation. One indication that C ++ is standard and by no means out of date is the frequency with which companies are looking for C ++ developers.

What's the difference between C, C ++, and C #?

C is intended for programming procedures that consist of a sequence of instructions.

C ++ is a further development of C, which includes object-oriented programming and allows more powerful programs.

C # is a collection of libraries, i.e. subroutines from which the program is composed. The calls of the respective functions do not exist in C ++.

What do I need for C ++ programming?

To translate your C or C ++ program into machine language, you need a compiler such as KDevelop, NetBeans or compilr. When programming, you can have an integrated development environment (IDE) support you.