Professional Documents
Culture Documents
Objective(s)
To enable a student apply a high level language (C++ programming language) for solution of
simple scientific problems that aims at manipulating the inputs/outputs of a computer
program.
Basic C++ programming Language Syntax: C++ program structure, C++ statements, C++
function blocks, C++ Identifiers, C++ Keywords, Whitespaces in C++, Comments in C++
C++ Data Types: Primitive Built-In data types, typedef Declarations, Enumerated Types
C++ Variable Types: Variable definition in C++, Variable Declaration in C++, Lvalues and
Rvalues
C++ Variable Scope: Local variables, Global variables, Initializing Local and Global
variables
C++ Loop Types: While, for, do-while, nested Loops, Loop Control statements, Break
Statement, Continue, Goto, Infinite Loops
C++ Decision Making Statements: If, If-Else, If-Else If -Else, Switch, Nested If Statements,
The ?: operator
Numbers in C++: Defining Numbers in C++, Math Operations in C++, Random Numbers in
C++
C++ Arrays: Declaring Arrays, Initializing Arrays, Accessing Array Elements, Pointer to an
Array, Passing Arrays to Functions, Returning Arrays from Functions
Strings in C++: The C-style Character Class, The String Class in C++
C++ Classes and Objects: C++ Class Definitions, C++ Object Definition, Accessing Data
Members, Public, Private and Protected Members
REFERENCES
[3] John R. Hubbard, Schaum’s Outlines, ”Programming with C++”,Second Edition, 2000