C++ course online
C++ is the classic language for learning algorithms and programming fundamentals. On BitWizards you write it in your browser, with code stepping - you execute the program line by line and see how it works, without installing a compiler.
What you will learn
- Output with
coutand formatting the results. - Variables, types, operators and expressions.
- Conditional statements, loops (
for,while), functions. - Arrays (1D and 2D), recursion and a practical project: a perpetual calendar.
- The calendar continued step by step: holidays, Easter computed with a loop, Gauss’s formula and the Meeus algorithm, a month view with holidays and working days.
- Tic-tac-toe in the console step by step, with a computer opponent playing by rules and then with minimax.
- Pointers and strings as
chararrays: addresses, functions that change the caller’s variables, your own string functions, palindromes and the Caesar cipher. - Colors in the console: ANSI codes in
coutfor text and background colors, bold text, a progress bar, a PASS/FAIL report and a colorful Christmas tree.
How you learn on BitWizards
- Code stepping: you walk through the code step by step, including into function bodies - the best way to understand how an algorithm unfolds.
- A speed slider and highlighting of the currently executed line.
- Exercises with automatic result checking.
C++ and the INF.04 exam
C++ is one of the main languages of INF.04 (Polish vocational IT qualification) - designing, programming and testing applications. It builds the algorithmic thinking that also pays off in Python and Java.
Colors in the console
The BitWizards console shows ANSI colors, so cout can print a red error message, a green “OK” or a Christmas tree with colorful baubles. Codes, examples in five languages and common mistakes are on the terminal colors page, and the exercises are in the Kolory w konsoli topic of the C++ Basics course (in Polish).
Related technologies
Python - Java - JavaScript