




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































Week Lectures Code Topics Book Chapter s 1 Lec01 C++ Fundamentals (pt 1) 1- 2 Lec02 C++ Fundamentals (pt 2) 1- 3 Lec03 Arrays and Pointers (pt1) 7 4 Lec04 Arrays and Pointers (pt2) 7 5 Lec05 Functions (pt 1) 4- 6 Lec06 Functions (pt 2) 4- 7 Lec07 Defining Classes (pt 1) 10- 8 Lec08 Defining Classes (pt 2) 10- 9 Lec09 Dynamic Memory Allocation 9 10 Lec10 Inheritance and Polymorphism (pt 1) 15 11 Lec11 Inheritance and Polymorphism (pt 2) 15 12 Lec12 Advanced Topic
13 Lec13 File Handling 6 14 Lec14 Presentation Textbook (^) Walter Savitch. (2011). Problem Solving with C++ (9th ed.). Addison Wesley. Reference Book (if any) 1. Tony Gaddis, Judy Walters, Godfrey Muganda. (2011). Starting out with C++: Early Objects (7th ed.). Addison Wesley.
1.1 Introduction to C++ 1.2 Structure chart, Flowchart and Pseudo code 1.3 Debugging and documentation techniques 1.4 Variables and Assignments 1.5 Input and Output 1.6 Data Types and Expressions
C++ program Basic C++ structure
A Simple C++ Program (^) A simple C++ program begins this way #include
My first program in C++ // my first program in C+ + #include
Layout of a Simple C++ Program #include
Running a C++ Program (^) C++ source code is written with a text editor (^) The compiler on your system converts source code to object code. (^) The linker combines all the object code into an executable program.
Run a Program (^) Write code (^) Compile the code (^) Fix any errors the compiler indicates and re-compile the code (^) Run the program Now you know how to run a program on your system
Program Design (^) Programming is a creative process (^) No complete set of rules for creating a program (^) There are many ways to solve the same problem (^) Each student will have their own unique style (^) Program Design Process