This course has been designed to introduce students to the fundamentals of structured programming using C++.
- Data Types
- Arithmetic Operations
- Variables and Declarations
- Assignment Operators
- Formatted Output
- Mathematical Library Functions
- Interactive Keyboard Input
- Symbolic Constants
- Relational Expressions
- The if-else Statement
- Nested if Statements
- The switch statement
- The while Statement
- Interactive while Loops
- The for Statement
- The do-while Statement
- Function and Parameter Declarations
- Returning values from functions
- Variable Scope
- Variable Storage Category
- One-Dimensional Arrays
- Array Initialization
- Arrays as Arguments
- Two-Dimensional Arrays
- Introduction to Pointers
- Array Names as Pointers
- Pointer Arithmetic
- Passing Addresses
- Single Structures
- Arrays of Structures
- Structures as Function Arguments
- Dynamic Structure Allocation
- Nested Structures
- I/O File Stream Objects and Functions
- Reading and Writing Text Files
- File Streams as Function Arguments