Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Complete Guide to C++ Programming Foundations

via LinkedIn Learning

Write review

Overview

Google, IBM & Meta Certificates – 40% Off
One plan covers every Professional Certificate on Coursera.
Unlock All Certificates
Build a strong foundation in C++ programming, exploring advanced features like object-oriented programming and the standard template library.

Syllabus

Introduction
  • Getting started with C++
  • What you should know
  • Using the exercise files in GitHub Codespaces
  • Solving challenges in Coderpad
1. Getting Started with C++ Foundations
  • About C++
  • Creating a simple program in C++
  • Anatomy of a C++ source file
  • Statements and expressions
  • Identifiers
  • Elements of object-oriented programming
  • Terminal interaction
2. Variables and Data Types
  • Basic data types
  • Integer types
  • Floating point types
  • Variables
  • Using variables
  • Type aliases
  • Enumerations
  • Structures
  • Type casting
  • Type casting examples
  • Type inference with auto
  • Solution: Data types
3. Expressions and Operations
  • Expressions and assignments
  • Operators
  • Increment and decrement operators
  • Compound assignment operators
  • Preprocessor directives
  • Constants
  • Solution: Calculate an average
4. Arrays, Pointers, and Strings
  • Arrays
  • Pointers
  • How arrays and pointers are related
  • Using objects with pointers
  • The vector class
  • Using objects with vectors
  • References
  • C strings
  • The string class
  • Solution: Vector manipulation
5. Control Statements
  • If statements
  • Switch statements
  • While loops
  • Traditional for loops
  • Ranged for loops
  • Solution: Calculate resource cost
6. Functions
  • Overview of functions
  • Passing values to a function
  • Returning values from a function
  • Writing functions
  • Overloading functions
  • Challenge: Calculate rhythm game scores
7. Creating Your Own Classes
  • Overview of classes and objects
  • Data members
  • Function members
  • Constructors and destructors
  • Using classes
  • Header and implementation files
  • Working with several source files
  • Operator overload
  • Solution: Create a person class
8. The Standard Template Library
  • Understanding templates
  • Template functions
  • Template classes
  • Overview of the STL
  • Queues and stacks
  • Advanced concepts: Iterators
  • Advanced concepts: Algorithms
  • Solution: Virtual pet schedule
9. File Handling
  • Working with files
  • Opening a text file for reading
  • Opening a text file for writing
Conclusion
  • Next steps

Taught by

Troy Miles

Reviews

4.5 rating at LinkedIn Learning based on 294 ratings

Start your review of Complete Guide to C++ Programming Foundations

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.