TAWANATECHNOLOGY

توسعهٔ وب

C++.

20 بخش‌های آموزشی / توانا تکنالوژی

دربارهٔ این کورس

C++ زبان برنامه‌نویسی چندمنظوره است که به‌عنوان گسترش زبان C ساخته شد.

آنچه می‌آموزید

Day 1: Introduction to C++

History of C++Structure of a basic C++ program#include, main(), cout, cinPractice: Write a program to print your name and age

Day 2: Variables and Data Types

Integer, float, char, string, boolVariable declaration and initializationPractice: Input name, age, GPA, and gender, then display them

Day 3: Operators and Expressions

Compare arithmetic, comparison and logical operations and understand evaluation order. Suggested practice: build a small calculator and test ordinary, boundary and invalid input values.

Day 4: Conditional Statements

Translate a decision rule into clear conditional branches and check boundary cases. Suggested practice: calculate a fictional grade while explaining how invalid and out-of-range scores are handled.

Day 5: Loops (Part 1)

Track the condition, changing values and stopping point of a loop. Suggested practice: generate a bounded number sequence and explain how an accidental infinite loop is prevented.

Day 6: Loops (Part 2)

Iterate over a known range or collection and keep nested-loop behaviour understandable. Suggested practice: generate a small multiplication table and verify its dimensions and results.

Day 7: Arrays (1D)

Declaration, initializationAccessing and modifying elementsPractice: Find max, min, average of array elements

Day 8: Arrays (2D)

Represent rows and columns consistently and check indexes before access. Suggested practice: add two small matrices and handle mismatched dimensions with a clear response.

Day 9: Strings

string class, basic operationsConcatenation, input, outputPractice: Reverse a string, check palindrome

Day 10: Functions

Defining and calling functionsParameters and return valuesPractice: Write functions for sum, factorial, prime check

Day 11: Recursion

Identify the base case and how each recursive call moves toward it. Suggested practice: trace a small factorial example and compare it with an iterative solution.

Day 12: Pointers (Basics)

Distinguish an address from the value stored there and check pointer validity. Suggested practice: trace a small value-swap example and explain why uninitialised pointers are unsafe.

Day 13: Dynamic Memory Allocation

Connect allocated memory to clear ownership, valid bounds and reliable cleanup. Suggested practice: compare a dynamically sized training array with a standard container and check safe access.

Day 14: Structures

Group related fields into a meaningful record and initialise every required value. Suggested practice: model a fictional learner record and write a clear display function.

Day 15: Object-Oriented Programming – Classes

Group state and behaviour in a class and expose only the operations callers need. Suggested practice: create fictional course or vehicle objects with controlled updates and readable output.

Day 16: Constructors and Destructors

Explain initialisation, object lifetime and cleanup responsibilities in a class. Suggested practice: trace when a small training object is created and released without leaving owned resources behind.

Day 17: Inheritance

Identify shared behaviour and explain how a derived class extends or overrides it. Suggested practice: compare a small person/learner example with a composition-based design.

Day 18: Polymorphism

Explain how a shared operation can behave differently for different object types. Suggested practice: compare shape calculations and distinguish method selection from duplicated conditional logic.

Day 19: File Handling

Read and write a chosen training file with explicit formatting and controlled error handling. Suggested practice: save fictional records, read them back and verify the file is closed correctly.

Day 20: Mini Project

Combine data modelling, validation, reusable functions and persistent sample records into a small application. Suggested practice: build a fictional course manager and demonstrate normal and failure paths.

محتوای کورس‌ها از فهرست آموزشی مرکز تهیه شده است. نسخهٔ نصاب، پیش‌نیاز، فیس و زمان صنف را پیش از ثبت‌نام تأیید کنید. تمرین‌های امنیتی برای محیط‌های آموزشی مجاز است.