
C++ Programming
Start Programming with C++ from Scratch
What you'll learn
- Learn the basics of programming in C++
- Use loops and control the flow of a program
- Write functions and macros
- Use arrays
- Understand pointers and records
- Program with objects and use classes
- Apply inheritance and polymorphism
- Overload operators
- Work with files
About this course
This course teaches C++ programming from scratch. C++ is an important language that helps you learn the other programming languages. It starts with highlights from the course, then the first steps with the C language, followed by loops and program control in two parts, then functions and macros, arrays, and pointers and records. After that it moves on to object-oriented programming and using classes in two parts, then inheritance and polymorphism, operator overloading, and working with files, and it ends with language resources and the course attachments. This course suits anyone who wants to enter the world of programming, whether you are a computer student, a hobbyist, or a beginner looking for a powerful language to start with. It needs no previous programming experience, because the lessons start from zero. By the end you will be able to write C++ programs that use loops, functions, arrays, pointers, classes and inheritance, and work with files to save and retrieve data. The course also gives you a strong foundation that makes it easier to learn other programming languages afterwards, such as Java and PHP.
Expected outcomes
- Acquire strong programming skills in C++.
- Ability to design programs using object-oriented techniques.
- Deep understanding of arrays and pointers and their efficient use.
- Create advanced programs using inheritance and polymorphism.
- Handle files for effective data storage and retrieval.
Learner reviews
Course content
1Programming with C++
14 lectures
- Course HighlightsExcerpts on C++ basics: program structure of input, processing and output, variables, command blocks in braces for loops, the difference between a class and an object, and reading files.20:07
- Getting Started with C LanguageIntroduces C and C++ and their history, writing tools such as Turbo C++, the structure of a simple program, variables, data types, operators, and input and output with scanf and printf.52:15
- Iteration and Control in the Program Part OneExplains loops in C++: for, while and do while, when to use each, and why braces matter for grouping statements into a block, with printing and counting examples.31:44
- Iteration and Control in the Program Part TwoExplains conditional statements in C++ such as if and if else and nesting them, the difference between equality and assignment, and the conditional operator, with a star-pattern example.15:49
- Functions and MacrosExplains functions in C++ and how they avoid repetition and ease maintenance, built-in and user-defined types, parameters, calling, and the return type.31:49
- ArraysExplains arrays in C++: what they are and why they help, filling elements with a loop and printing them in reverse, finding the largest value, two-dimensional arrays, and linear search.29:26
- Pointers and RecordsExplains pointers in C++ as variables holding another variable's address and their uses such as returning more than one value, then structures and how to define and use them.26:16
- Programming by ObjectivesBridges the move from C to C++ with object-oriented programming, explaining class and object, the idea of inheritance and reusing a class, and references compared with pointers.30:57
- Using Classes Part OneShows how to use a class in practice in C++: declaring it with its variables and functions, defining the functions outside it with the scope operator, then creating an object and calling its functions.17:54
- Using Classes Part TwoContinues classes in C++: making data private so it is only accessed through class functions, then the constructor and its overloading, and the destructor.36:27
- Inheritance and PolymorphismExplains inheritance in C++: creating a derived class that inherits a base class's members and adds to them, with an employees example, avoiding rewriting code, along with the idea of polymorphism.22:58
- Overloading OperatorsExplains operator overloading in C++, giving an operator such as plus a new meaning for objects by writing an operator function, applied to addition and comparison.10:06
- Handling FilesExplains file handling in C++: opening a text file for writing or reading, checking that it exists, reading and printing its content, and handling errors with try and catch.5:14
- Language ResourcesPresents online resources for learning C++, websites with many examples, language documentation and tutorials, and how to use them to build on what the course taught.6:21
2Attachments
1 attachments
- Download the Attachments from Here
Instructor

Eng. Azab Mohamed Azab
This course is part of the diploma




