C++
Meet C++ through small console programs: input, decisions, loops and functions.
For beginners curious about a more explicit language and computer programs. Advanced maths is not needed to start.
20 lessons in four modules. Short code notes explain ideas, guided classwork builds fluency, and homework calls for your own solution. The course ends with an exam.
What you will learn
- Understand main, cout and cin in a simple program.
- Use variables, types, comparisons and conditions.
- Use loops, strings, arrays or vector for multiple values.
- Extract repeated work into a function and build a console program.
Module path
- IntroductionProgram structure, output, input and variables.
- Decisions and repetitionsChecks and choices based on conditions.
- Loops and data setsLoops and working with multiple values.
- Your own programsFunctions, structures and a final program.
Your result
You will build a small console task using the parts you learned and test yourself in a final exam covering all four modules.
What comes next
These are C++ foundations. Pointers, memory management, templates and large applications need further study. The VS Code course helps with compiling files on a computer.
Introduction
Inference, Variables and Computations
Decisions and repetitions
Conditions, input and loops
Loops and data sets
Repetition, arrays, strings and vector
Your own programs
Functions, structures and final draft