C++ is a compiled programming language used for command line tools, games, desktop software, systems, and larger structured projects.
BYTE FORGE EDU / C++ Learning Track
Build on C-style command line learning and move into C++ streams, strings, vectors, functions, classes, and structured beginner projects.
These lessons prepare the student to understand C++ source files, compile with Clang++, and run programs in CMD.
C++ is a compiled programming language used for command line tools, games, desktop software, systems, and larger structured projects.
Source files, folders, file extensions, and how C++ lesson materials are stored.
cpp_workfiles_002Create a small program with main, cout, and return 0.
cpp_firstprogram_003Compile a .cpp file into an .exe file using Clang++.
cpp_compileclang_004Run the compiled C++ program and read its output in the command prompt.
cpp_runexe_005Learn how to read simple C++ compiler errors and fix one problem at a time.
cpp_errors_006Prove the full source file, Clang++, EXE, and CMD output workflow from one simple task package.
Build the visible C++ program skeleton: include line, main, braces, statements, and return 0.
Learn that a C++ program is made from statements and that simple statements usually end with semicolons.
Use visible output as the first proof that the C++ program ran correctly.
Print exact text labels with std::cout.
Use newline characters so C++ output stays readable line by line.
Add simple comments that explain the code for humans.
Create simple integer variables and print their values.
Print integer values clearly with std::cout and readable labels.
Change a variable after it was created and print both the start and final value.
Create and print more than one variable in the same program.
Use readable variable names that explain what the value means.
Connect variable names to practical values like temperature and score.
Use int, char, and float in one small beginner program.
Store and print one-character values with char.
Compare whole-number and decimal-number values in C++.
Print the same decimal value with different precision settings.
Inspect how many bytes common data types use.
Match real values like score, grade, and temperature to suitable data types.
Use long and double in one beginner-friendly program.
Convert one value between basic types and compare the printed result.
Use const values when data should stay fixed.
Understand operators as symbols that act on values and variables.
Practice add, subtract, multiply, and divide in one small report.
Use = and short update forms like += for small value changes.
Compare values and print true or false style results.
Combine conditions with AND, OR, and NOT checks.
Store and print true/false style values with bool.
See how brackets change expression order and final results.
Run a code block only when a condition is true.
Choose between two result paths from one condition.
Check several conditions in order and stop on the first match.
Use the ternary operator as a short form for choosing one of two values.
Select one branch from fixed integer cases.
Repeat code while the loop condition stays true.
Run the loop body first and check the stop condition after it.
The first C++ syntax lessons. Each item will become its own lesson page and downloadable code files.
Print text and read input using C++ streams.
cpp_coutcin_007Store numbers, text, boolean values, and simple data.
cpp_variables_008Make decisions with conditions and comparison operators.
cpp_ifelse_009Repeat code with while, for, and do while.
cpp_loops_010Split programs into reusable blocks.
cpp_functions_011Store fixed-size groups of values.
cpp_arrays_012Work with text using the C++ string type.
cpp_string_013Store lists that can grow while the program runs.
cpp_vector_014Group data and functions into simple objects.
cpp_classes_015Write and read simple text files.
cpp_files_016After syntax lessons, these projects can use the same C++ folders and file prefix system.
Use variables, string, input, and formatted output.
Use functions, numbers, and menu logic.
Use vector, score, and repeated questions.
Use string, vector, and simple records.
Use classes or structs to organize items.
Use loops, functions, and game state.
These exercises establish the C++ foundation needed before templates, advanced classes, dynamic memory ownership, libraries, engines, operating-system work, and embedded development. C++ carries low-level control forward from C while adding stronger types, streams, strings, containers, classes, and reusable abstractions.
CHAR
What is learned: CHAR VARIABLES AND ASCII BASICS
Why it matters: Characters and bytes are used for text, device commands, serial data, protocols, and memory-level processing.
INT
What is learned: INTEGER VARIABLES AND BASIC ARITHMETIC
Why it matters: Integers are used for counters, indexes, timing, states, measurements, containers, and control decisions.
FLOAT
What is learned: FLOAT VARIABLES AND SIMPLE REAL NUMBER TASKS
Why it matters: Float values support sensors, physics, graphics, simulation, control systems, and engineering calculations.
UNSIGNED INTEGER TYPES
What is learned: UNSIGNED CHAR AS A SMALL NUMBER AND BYTE
Why it matters: Unsigned integers represent bytes, flags, registers, sizes, colors, network fields, and hardware states.
UNSIGNED INTEGER TYPES
What is learned: UNSIGNED INT FOR NON-NEGATIVE WHOLE NUMBERS
Why it matters: Unsigned integers represent bytes, flags, registers, sizes, colors, network fields, and hardware states.
DOUBLE
What is learned: MORE PRECISION THAN FLOAT
Why it matters: Double precision is important for accurate calculations, simulation, science, and engineering software.
BASIC OPERATORS
What is learned: PLUS, MINUS, MULTIPLY, DIVIDE, MODULO
Why it matters: Arithmetic operators power calculations, conversions, timers, counters, game rules, and control algorithms.
RELATIONAL AND LOGICAL OPERATORS
What is learned: COMPARISONS AND DECISIONS
Why it matters: Comparisons, logical operators, and bool values control program flow, safety conditions, menus, and machine states.
RELATIONAL AND LOGICAL OPERATORS
What is learned: LOGICAL AND, OR, AND NOT
Why it matters: Comparisons, logical operators, and bool values control program flow, safety conditions, menus, and machine states.
RELATIONAL AND LOGICAL OPERATORS
What is learned: C++ BOOL VALUES
Why it matters: Comparisons, logical operators, and bool values control program flow, safety conditions, menus, and machine states.
BITWISE SHIFTS AND BITWISE BASICS
What is learned: SHIFT LEFT, SHIFT RIGHT, AND MASKS
Why it matters: Bitwise operations control flags, registers, packed data, permissions, protocols, and embedded hardware.
BITWISE SHIFTS AND BITWISE BASICS
What is learned: BITWISE AND
Why it matters: Bitwise operations control flags, registers, packed data, permissions, protocols, and embedded hardware.
BITWISE SHIFTS AND BITWISE BASICS
What is learned: BITWISE OR
Why it matters: Bitwise operations control flags, registers, packed data, permissions, protocols, and embedded hardware.
BITWISE SHIFTS AND BITWISE BASICS
What is learned: BITWISE XOR
Why it matters: Bitwise operations control flags, registers, packed data, permissions, protocols, and embedded hardware.
BITWISE SHIFTS AND BITWISE BASICS
What is learned: BITWISE NOT
Why it matters: Bitwise operations control flags, registers, packed data, permissions, protocols, and embedded hardware.
BITWISE SHIFTS AND BITWISE BASICS
What is learned: LEFT AND RIGHT SHIFT
Why it matters: Bitwise operations control flags, registers, packed data, permissions, protocols, and embedded hardware.
BITWISE SHIFTS AND BITWISE BASICS
What is learned: COMBINED BITWISE OPERATIONS
Why it matters: Bitwise operations control flags, registers, packed data, permissions, protocols, and embedded hardware.
COUT AND OUTPUT FORMATTING
What is learned: C++ STREAM OUTPUT AND IOMANIP
Why it matters: C++ stream formatting makes diagnostics, tables, logs, measurements, and command-line tools readable.
MIXED BASIC TASKS
What is learned: SHORT REAL-WORLD EXERCISES
Why it matters: Mixed exercises connect C++ language rules into practical programs and reusable problem-solving skills.
MORE BASIC C++ CATEGORIES TO ADD BEFORE DEEP TOPICS
What is learned: TYPE SIZE, RANGE, AND LIMITS
Why it matters: Limits, validated streams, casts, and precedence prevent data loss, invalid state, and low-level defects.
MORE BASIC C++ CATEGORIES TO ADD BEFORE DEEP TOPICS
What is learned: CIN AND SAFE BASIC INPUT
Why it matters: Limits, validated streams, casts, and precedence prevent data loss, invalid state, and low-level defects.
MORE BASIC C++ CATEGORIES TO ADD BEFORE DEEP TOPICS
What is learned: TYPE CONVERSION AND CASTING
Why it matters: Limits, validated streams, casts, and precedence prevent data loss, invalid state, and low-level defects.
MORE BASIC C++ CATEGORIES TO ADD BEFORE DEEP TOPICS
What is learned: OPERATOR PRECEDENCE AND EXPRESSIONS
Why it matters: Limits, validated streams, casts, and precedence prevent data loss, invalid state, and low-level defects.