Introduction
When C++ was first developed, it was modeled as an extension of the C language. C++ was designed to support procedural, object-oriented, and generic programming. It's a compiler-based programming language, so it's statically typed and case-sensitive. The uses of C++ are limitless.
Here are some examples of where C++ is used:
Web browsers. C++ is used to create web browsers and their plugins and extensions.
Operating systems. C++ is used to build operating systems. Many versions of Windows were in part written in C++. The Symbian OS is mostly written in C++.
Compilers. Compilers for languages like C# and Java are written in C++. In fact, many C++ compilers are written in C++.
Media applications. C++ is used to create media applications and to manage audio and video files. C++ is used in applications that implement real-time audio, like audiobooks and apps that transcribe video.
Database engines. C++ has been used to develop database applications, including MySQL.
Games. A wide variety of animation and games require C++ for modeling, 3D animation, rendering, and simulations. Game engines that developers use to create games frequently are built by using C++.
Medical engineering. Developers who work in medical engineering are creating more applications by using C++. C++ is widely used in machines that use scanning technology, like MRI. C++ is also used in various embedded systems.
Robotics. A robotics developer often will use C++ to program the microcontroller, to improve performance and productivity. Numerous hardware libraries are written in C++ for interactions with low-level hardware.
Scenario
You work on a team of developers, and you're looking to evaluate C++. You want to determine whether C++ might be a good fit for the applications you and your team build. What's important for your team and for your company is to develop applications that are fast and memory-efficient. The language also needs to be common, with a large community to ensure support for issues and access to tutorials.
What will you learn?
In this module, you'll learn to:
- Write a program in C++ by using basic syntax.
- Recognize C++ terminology, including data types, libraries, and functions.
- Identify and correct common programming errors.
What is the main goal?
This module shows you how to write your first C++ program, and it helps you gain confidence in developing in C++.