0% found this document useful (0 votes)
51 views8 pages

Basic Syllabus For C++

This document outlines a course on fundamentals of C++ programming organized into 22 modules. The modules cover topics such as basic C++ syntax, variables, expressions, conditional statements, functions, objects, classes, inheritance, templates, exceptions, and the C++ standard library. Later modules build upon concepts from earlier modules to teach more advanced C++ programming techniques.

Uploaded by

femina
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)
51 views8 pages

Basic Syllabus For C++

This document outlines a course on fundamentals of C++ programming organized into 22 modules. The modules cover topics such as basic C++ syntax, variables, expressions, conditional statements, functions, objects, classes, inheritance, templates, exceptions, and the C++ standard library. Later modules build upon concepts from earlier modules to teach more advanced C++ programming techniques.

Uploaded by

femina
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/ 8

Fundamentals of C++

Module 1: The Context of Software Development


1.1 Software
1.2 Development Tools
1.3 Learning Programming with C++
1.4 Exercises

Module 2: Writing a C++ Program


2.1 General Structure of a Simple C++ Program
2.2 Editing, Compiling, and Running the
2.3 Variations of our simple program
2.4 Template for simple C++ programs
2.5 Exercises

Module 3: Values and Variables


3.1 Integer Values
3.2 Variables and Assignment
3.3 Identifiers
3.4 Additional Integer Types
3.5 Floating-point Types
3.6 Constants
3.7 Other Numeric Types
3.8 Characters
3.9 Enumerated Types
3.10 Type Inference with auto
3.11 Exercises
Module 4: Expressions and Arithmetic
4.1 Expressions
4.2 Mixed Type Expressions
4.3 Operator Precedence and Associativity
4.4 Comments
4.5 Formatting
4.6 Errors and Warnings
4.6.1 Compile-time Errors
4.6.2 Run-time Errors
4.6.3 Logic Errors
4.6.4 Compiler Warnings
4.7 Arithmetic Examples
4.8 Integers vs. Floating-point Numbers
4.8.1 Integer Implementation
4.8.2 Floating-point Implementation
4.9 More Arithmetic Operators
4.10 Bitwise Operators
4.11 Algorithms
4.12 Exercises

Module 5: Conditional Execution


5.1 Type bool
5.2 Boolean Expressions
5.3 The Simple if Statement
5.4 Compound Statements
5.5 The if/else Statement
5.6 Compound Boolean Expressions
5.7 Nested Conditionals
5.8 multi-way if/else Statements
5.9 Errors in Conditional Statements
5.10 Exercises
Module 6: Iteration
6.1 The while Statement
6.2 Nested Loops
6.3 Abnormal Loop Termination
6.3.1 The break statement
6.3.2 The goto Statement
6.3.3 The continue Statement
6.4 Infinite Loops
6.5 Iteration Examples
6.5.1 Drawing a Tree
6.5.2 Printing Prime Numbers
6.6 Exercises

Module 7: Other Conditional and Iterative Statements


7.1 The switch Statement
7.2 The Conditional Operator
7.3 The do/while Statement
7.4 The for Statement
7.5 Exercises

Module 8: Using Functions


8.1 Introduction to Using Functions
8.2 Standard Math Functions
8.3 Maximum and Minimum
8.4 clock Function
8.5 Character Functions
8.6 Random Numbers
8.7 Exercises
Module 9: Writing Functions
9.1 Function Basics
9.2 Using Functions
9.3 Pass by Value
9.4 Function Examples
9.4.1 Better Organized Prime Generator
9.4.2 Command Interpreter
9.4.3 Restricted Input
9.4.4 Better Die Rolling Simulator
9.4.5 Tree Drawing Function
9.4.6 Floating-point Equality
9.4.7 Multiplication Table with Functions
9.5 Organizing Functions
9.6 Commenting Functions
9.7 Custom Functions vs. Standard Functions
9.8 Exercises

Module 10: Managing Functions and Data


10.1 Global Variables
10.2 Static Variables
10.3 Overloaded Functions
10.4 Default Arguments
10.5 Recursion
10.6 Making Functions Reusable
10.7 Pointers
10.8 Reference Variables
10.9 Pass by Reference
10.9.1 Pass by Reference via Pointers
10.9.2 Pass by Reference via References
10.10Higher-order Functions
10.11Exercises
Module 11: Sequences

11.1 Vectors
11.1.1 Declaring and Using Vectors
11.1.2 Traversing a Vector
11.1.3 Vector Methods
11.1.4 Vectors and Functions
11.1.5 Multidimensional Vectors
11.2 Arrays
11.2.1 Static Arrays
11.2.2 Pointers and Arrays
11.2.3 Dynamic Arrays
11.2.4 Copying an Array
11.2.5 Multidimensional Arrays
11.2.6 C Strings
11.2.7 Command-line Arguments
11.3 Vectors vs. Arrays
11.4 Prime Generation with a Vector
11.5 Exercises

Module 12: Sorting and Searching


12.1 Sorting
12.2 Flexible Sorting
12.3 Search
12.3.1 Linear Search
12.3.2 Binary Search
12.4 Vector Permutations
12.5 Randomly Permuting a Vector
12.6 Exercises
Module 13: Standard C++ Classes
13.1 String Objects
13.2 Input/Output Streams
13.3 File Streams
13.4 Complex Numbers
13.5 Better Pseudorandom Number Generation
13.6 Exercises

Module 14: Custom Objects


14.1 Object Basics
14.2 Instance Variables
14.3 Member Functions
14.4 Constructors
14.5 Defining a New Numeric Type
14.6 Encapsulation
14.7 Exercises

Module 15: Fine Tuning Objects


15.1 Passing Object Parameters
15.2 Pointers to Objects and Object Arrays
15.3 The this Pointer
15.4 const Methods
15.5 Separating Method Declarations and Definitions
15.6 Preventing Multiple Inclusion
15.7 Overloaded Operators
15.7.1 Operator Functions
15.7.2 Operator Methods
15.8 static Members
15.9 Classes vs. structs
15.10 Friends
15.11 Exercises
Module 16: Building some Useful Classes
16.1 A Better Rational Number Class
16.2 Stopwatch
16.3 Sorting with Logging
16.4 Automating Testing
16.5 Convenient High-quality Pseudorandom Numbers
16.6 Exercises

Module 17: Inheritance and Polymorphism


17.1 I/O Stream Inheritance
17.2 Inheritance Mechanics
17.3 Uses of Inheritance
17.4 Polymorphism
17.5 Alternative to Inheritance and Polymorphism
17.6 Adapter Design Pattern
17.7 Protected Members
17.8 Fine Tuning Inheritance
17.9 Exercises .

Module 18: Memory Management


18.1 Memory Available to C++ Programs
18.2 Manual Memory Management
18.3 Linked Lists
18.4 Resource Management
18.5 R-value References
18.6 Smart Pointers

Module 19: Generic Programming


19.1 Function Templates
19.2 Class Templates
19.3 Exercises
Module 20: The Standard Template Library
20.1 Containers
20.2 Iterators
20.3 Iterator Ranges
20.4 Lambda Functions
20.5 Algorithms in the Standard Library
20.6 Namespaces

Module 21: Associative Containers


21.1 Associative Containers
21.2 The std::set Data Type
21.3 Tuples
21.4 The std::map Data Type
21.5 The std::unordered map Data Type
21.6 Counting with Associative Containers
21.7 Grouping with Associative Containers
21.8 Memorization

Module 22: Handling Exceptions


22.1 Motivation
22.2 Exception Examples
22.3 Custom Exceptions
22.4 Catching Multiple Exceptions
22.5 Exception Mechanics
22.6 Using Exceptions

You might also like