🚀 C# ile Programlamaya Giriş: Kodlamaya İlk Adımını At, Kendi Projelerini Geliştirmeye Başla!
00HOME 01POSTS 02COURSES 03ELECTRİCAL_ENERGY 04AUTOMOTİVE_ENGİNEERİNG 05TOOLS 06LAB 07GLOSSARY 08TAGS ♡MY LIST ⌕SEARCH
TRENG
C++

Introduction to Programming with C++

C++17 from scratch: from setup to pointers, from classes to the STL. The examples come from engineering problems: Ohm's law, ADC conversion and sensor data statistics.

LESSONS
13
TOTAL TIME
49 min
LEVEL
Beginner
Start
0% completed · 0/13 lessons

// Curriculum

  1. 01 Setup: g++, MSVC and your first build Install a C++ compiler on Windows, Linux and macOS, and learn the path from a source file to a running program. 3 min
  2. 02 Your first program: #include, main and std::cout Get to know the skeleton of a C++ program line by line; print text to the screen, add comments and read compiler errors. 3 min
  3. 03 Variables and data types int, double, char, bool, std::string, const and auto; with integer division, overflow and an ADC conversion example. 3 min
  4. 04 Input and output: interacting with std::cin Read data from the user, catch invalid input, read a line of text and format the output; with an Ohm's law calculator. 4 min
  5. 05 Conditions: if, else and switch Let your program make decisions: comparison and logical operators, if-else chains, switch and the ternary operator. 4 min
  6. 06 Loops: for, while and do-while Do repetitive work with loops: an Ohm table with for, capacitor discharge with while, break and continue. 4 min
  7. 07 Functions Split your code into pieces: definitions, parameters, return values, default arguments and function overloading. 4 min
  8. 08 Arrays and std::vector Keep many values under one name: C arrays, std::vector, the range-based for and averaging sensor data. 3 min
  9. 09 Pointers and references Learn addresses, pointers and references through examples; swap, const references and nullptr. 4 min
  10. 10 Classes and objects Bundle data and behavior into one structure: class, private/public, constructors, const methods and struct. 4 min
  11. 11 Memory management: new, delete and smart pointers The difference between the stack and the heap, the pitfalls of new/delete, RAII, and safe memory management with unique_ptr and shared_ptr. 4 min
  12. 12 Introduction to the STL: map, sort, algorithms and lambdas The power of the Standard Template Library: std::sort, accumulate, max_element, count_if, std::map and lambda expressions. 4 min
  13. 13 Mini project: sensor data logger and statistics Put what you have learned together: a temperature logging program using struct, a class, vector, STL algorithms and lambdas. 5 min

// Final exam and certificate

20 random questions from the lessons, 30 minutes, pass mark 70%. If you pass, you get a verifiable certificate of achievement (with a QR code).

Take the final exam