Learning C++
Offered By: LinkedIn Learning
Course Description
Overview
Explore introductory C++ language programming with simple language and up-to-date code examples.
Syllabus
Introduction
- Get up and running with C++
- What you should know
- About the exercise files
- Setting up the development environment
- Elements of object-oriented programming
- Creating a simple program in C++
- Challenge: Console interaction
- Solution: Console interaction
- Basic data types
- Variables
- Expressions, assignments, and operations
- Type inference with auto
- Preprocessor directives
- Constants
- Arrays
- Strings
- Type casting
- Challenge: Calculate an average
- Solution: Calculate an average
- Structures
- Classes
- Header and implementation files
- Pointers
- References
- Vectors
- Challenge: Create some classes
- Solution: Create some classes
- If statements
- Switch statements
- While loops
- For loops
- Challenge: Calculate GPA from a vector
- Solution: Calculate GPA from a vector
- Creating functions
- Using functions
- Function parameters
- Challenge: Create a report card function
- Solution: Create a report card function
- Opening a text file for reading
- Open a text file for writing
- Challenge: Upgrade to work with files
- Solution: Upgrade to work with files
- Next steps
Taught by
Eduardo Corpeño
Related Courses
Initiation à la programmation (en C++)École Polytechnique Fédérale de Lausanne via Coursera Introduction to Computing 计算概论A
Peking University via Coursera Programming Basics
Indian Institute of Technology Bombay via edX 程序设计基础
Peking University via edX 計算機程式設計 (Computer Programming)
National Taiwan University via Coursera