C++ Introduction
Hours: 32 / Access Length: 180 Days / Delivery: Online, Mentor Supported
Course Overview:
This C++ programming course provides a comprehensive introduction to the language, starting with its history and key concepts. Students will quickly learn to write their first programs, incorporating user input, calculations, and output. The course then delves into essential programming constructs like decision-making with if/else statements and loops for repetitive tasks. File handling, data types, and functions are also explored, equipping students with the ability to write more complex and organized code. Later lessons cover debugging, data structures, and error handling with exceptions, providing a well-rounded foundation in C++ programming.
IMPORTANT: Since Visual Studio for Mac no longer supports C++, this course is only suitable for students that have a Windows-based computer or virtual machine available to them.
Students will:
- Understand the fundamentals of C++
- Write basic C++ programs
- Implement decision-making structures
- Use loops for repetitive tasks
- Work with files
- Define and call functions
- Debug and troubleshoot code
- Handle exceptions
Course Outline
Lesson 1: An Introduction to C++ Programming
This chapter starts by presenting some background information about C++.
Although this information isn’t essential to developing C++ programs, it does show how C++ works and how it compares to other languages.
Lesson 2: How to Write your First Programs
Once you’ve installed an IDE and the C++ compiler, the quickest and best way to learn C++ programming is to do C++ programming. That’s why this chapter shows you how to write complete C++ programs that get input from a user, make calculations, and display output. When you finish this chapter, you should be able to write comparable programs of your own.
Lesson 3: How to Make Decisions
In chapter 2, you learned how to write programs that get input from a user, process that input, and display output to the user. In this chapter, you’ll learn how to write code so your program can make decisions. For example, it’s common to make decisions based on the input from a user. To do that, you’ll learn how to code control statements such as the if and switch statements.
Lesson 4: How to Code Loops
In chapter 3, you learned how to code if and switch statements to make decisions. Now, this chapter shows how to code a statement known as a loop that allows you to repeat a block of statements multiple times. But first, this chapter presents some more skills for coding arithmetic expressions because these skills are often used when coding loops.
Lesson 5: How to Work with I/O streams and Files
In this chapter, you’ll learn how to save the data in main memory so it
isn’t lost. To do that, you can use an output stream to write data from memory to a file. Then, you can use an input stream to read data from the file into memory. This is known as file input and output, or file I/O.
Lesson 6: How to Work with Data types, Strings, and Vectors
In chapter 2, you learned how to use two of the built-in, or fundamental, data types as you defined and initialized variables and coded assignment statements that used simple arithmetic expressions. In addition, you learned some basic skills for working with strings. Now, you’ll learn more skills that will let you work with fundamental data types at a professional level. In addition, you’ll learn more about working with strings, and you’ll be introduced to vectors, which allow you to store a sequence of values of any data type.
Lesson 7: How to Code Functions
In this chapter, you’ll learn a variety of skills for declaring, defining, and calling functions. In addition, you’ll learn how to organize your functions into header files and namespaces. When you do that, you’ll be able to access these functions from multiple programs just as you can the functions in the C++ standard library.
Lesson 8: How to Test, Debug, and Deploy a Program
As you develop a C++ program, you need to test it to make sure that it performs as expected. Then, if you encounter any problems, you need to debug the program to fix the problems. Finally, when you’re done testing and debugging a program, you need to deploy it so your users can run it.
Lesson 9: How to Work with Structures and Enumerations
This chapter begins by showing how to use a structure to group items of different data types into a single data type. Then, this chapter shows how to use an enumeration to group related constants. Both of these features make it easier to organize your code and work with related da
Lesson 10: How to Work with Built-in Arrays and C strings
If you’re working in an embedded environment or with legacy code, you might not be able to use string objects as described in chapter 6. Instead, you can use an array of characters. This is known as a C string, or C-style string, because that’s how the C programming language works with strings.
Lesson 11: How to Work with Exceptions
In the old days of programming, handling errors was difficult because programming languages didn’t provide a standard way to check for errors, and they didn’t provide a standard way to communicate errors to other parts of the program that might need to know about them. To address this problem, most modern programming languages, including C++, provide exceptions. Exceptions allow you to write code that can handle errors more easily and reliably.
All necessary course materials are included.
System Requirements:
Internet Connectivity Requirements:
- Cable, Fiber, DSL, or LEO Satellite (i.e. Starlink) internet with speeds of at least 10mb/sec download and 5mb/sec upload are recommended for the best experience.
NOTE: While cellular hotspots may allow access to our courses, users may experience connectivity issues by trying to access our learning management system. This is due to the potential high download and upload latency of cellular connections. Therefore, it is not recommended that students use a cellular hotspot as their primary way of accessing their courses.
Hardware Requirements:
- CPU: 1 GHz or higher
- RAM: 4 GB or higher
- Resolution: 1280 x 720 or higher. 1920x1080 resolution is recommended for the best experience.
- Speakers / Headphones
- Microphone for Webinar or Live Online sessions.
Operating System Requirements:
- Windows 7 or higher.
- Mac OSX 10 or higher.
- Latest Chrome OS
- Latest Linux Distributions
NOTE: While we understand that our courses can be viewed on Android and iPhone devices, we do not recommend the use of these devices for our courses. The size of these devices do not provide a good learning environment for students taking online or live online based courses.
Web Browser Requirements:
- Latest Google Chrome is recommended for the best experience.
- Latest Mozilla FireFox
- Latest Microsoft Edge
- Latest Apple Safari
Basic Software Requirements (These are recommendations of software to use):
- Office suite software (Microsoft Office, OpenOffice, or LibreOffice)
- PDF reader program (Adobe Reader, FoxIt)
- Courses may require other software that is described in the above course outline.
** The course outlines displayed on this website are subject to change at any time without prior notice. **