0% found this document useful (0 votes)
2 views3 pages

Course Outline C Plus Plus

The document outlines a 18-day C++ programming course, covering topics from introduction to programming and C++ history to advanced concepts like classes, inheritance, and file handling. Each day includes a lesson and a practical exercise to reinforce learning, culminating in a final project that integrates all concepts learned. The course is designed to provide a comprehensive foundation in C++ programming.

Uploaded by

Kashif Majeed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views3 pages

Course Outline C Plus Plus

The document outlines a 18-day C++ programming course, covering topics from introduction to programming and C++ history to advanced concepts like classes, inheritance, and file handling. Each day includes a lesson and a practical exercise to reinforce learning, culminating in a final project that integrates all concepts learned. The course is designed to provide a comprehensive foundation in C++ programming.

Uploaded by

Kashif Majeed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

COURSE OUTLINE

Day 1: Introduction to C++

 Lesson: Introduction to programming, C++ history, and setting up a C++ environment.

 Exercise: Install a C++ IDE (e.g., Code::Blocks).

Day 2: Hello World Program

 Lesson: Basic structure of a C++ program, #include, main(), and cout.

 Exercise: Write a "Hello, World!" program.

Day 3: Variables and Data Types

 Lesson: Introduction to variables, data types (int, float, char), and variable declaration.

 Exercise: Declare and initialize variables of different data types.

Day 4: Input and Output

 Lesson: Using cin for input and cout for output.

 Exercise: Write a program that asks for the user's name and greets them.

Day 5: Arithmetic Operations

 Lesson: Basic arithmetic operations (+, -, *, /, %) and their usage in C++.

 Exercise: Write a program that takes two numbers and prints their sum, difference, product, and
quotient.

Day 6: Decision Making (if-else)

 Lesson: if, else if, and else statements.

 Exercise: Write a program that checks if a number is positive, negative, or zero.

Day 7: Loops (for loop)

 Lesson: Introduction to loops and for loop syntax.

 Exercise: Write a program to print numbers from 1 to 10 using a for loop.

Day 8: Loops (while loop)

 Lesson: while loop syntax and usage.

 Exercise: Write a program to print even numbers between 1 and 20 using a while loop.

Day 9: Loops (do-while loop)

 Lesson: do-while loop syntax and differences from while loop.


 Exercise: Write a program to print the multiplication table of a given number using a do-while
loop.

Day 10: Functions

 Lesson: Introduction to functions, defining, and calling functions.

 Exercise: Write a function to add two numbers and call it from main().

Day 11: Arrays

 Lesson: Introduction to arrays, declaring and accessing elements.

 Exercise: Write a program to store and print five integers.

Day 12: Strings

 Lesson: Introduction to strings, string class in C++, and basic string operations.

 Exercise: Write a program that asks for a string input and prints it in reverse.

Day 13: Pointers

 Lesson: Basic concept of pointers, declaring pointers, and * and & operators.

 Exercise: Write a program that shows the address of a variable using a pointer.

Day 14: Introduction to Classes and Objects

 Lesson: Basics of object-oriented programming, defining a class, and creating objects.

 Exercise: Define a class Car with attributes brand and model, and create an object to print these
attributes.

Day 15: Constructors and Destructors

 Lesson: Introduction to constructors and destructors in classes.

 Exercise: Modify the Car class to include a constructor that initializes brand and model.

Day 16: Inheritance

 Lesson: Basics of inheritance, creating a derived class.

 Exercise: Create a derived class ElectricCar from the Car class with an additional attribute
batteryCapacity.

Day 17: File Handling

 Lesson: Basics of file handling, reading from and writing to files.

 Exercise: Write a program to create a file and write some text to it.

Day 18: Final Project

 Lesson: Integration of concepts learned.


 Exercise: Create a mini-project, such as a simple student management system that uses classes,
file handling, and basic operations.

You might also like