Title: C++ Programming Language
This C++ Programming Language book is carefully formatted for kindle edition. Read on mac, pc, smart phone, tabs, fire, etc.
This book is for absolute beginners with or without prior knowledge in programming, as this book uses Simple words, Short sentences, and Straightforward paragraphs. The triple S way of learning C++ programming. C++ (pronounced as cee plus plus) is a general-purpose programming language. The main object of C++ is to add object-orientation to its predecessor C language. C++ has imperative, object-oriented and generic programming features, while also providing facilities for low-level memory manipulation. There are also other useful features added to C++ such as inheritance and polymorphism. The topics covered in this book includes brief introduction to C++ programming, variables, data types, control structures, functions, pointers, and file management of external files. This book starts its discussion from short history to installation of the needed software resource and a step by step screen shots of how to write C++ programming code, compile and execute C++ programs. It presents graphical representation of algorithms for simpler learning. This book is packed with working and running C++ program samples and after reading this book, the reader would be able to develop and create C++ language programs based particularly from problems given in computer science courses, hence, adopting to other programming language will be a lot easier. This book is your initial step in your programming career.
Get your copy now while it's on sale at $3.44!
Summary of topics covered:
Chapter 1 - Starting C++ Language Programming
Brief history of C++
Reasons to use C++
Beginning to Program in C++ Language
Installing the Dev-C++ for Windows
Installing compiler for Linux
Chapter 2 - Our First C++ Program
The components of a C++ program
Writing, compiling, and running our first program using Dev-C++ for Windows
Correcting errors
Writing, compiling, and running our first program with Linux
Statements
Null Statements
White spaces
Chapter 3 - Storing Data: Variables and Data Types in C++
Variable
Scope of variables
Constants
typedef declarations
4) Chapter 4 - Fundamentals of Input And Output in C++
Displaying text on-screen
Accepting user input
5) Chapter 5 - Arrays and Strings in C++
Single-Dimensional
Multi-Dimensional Array
The C-Style Character String
C Strings' pre-defined functions in C++
Chapter 6 - Mathematical Operations in C++
Expressions
Operators
Assignment
Mathematical
Precedence level
Relational
Logical
Type Casting
Pre-defined Mathematical Functions
Chapter 7 - Conditional Statements in C++
The if() statement
Single-alternative
Dual-alternative
Multiple-alternative
Nested if() statement
The switch() statement
Chapter 8 - Looping Statements in C++
Counter-controlled loop
Nested for() loop statement
Condition-controlled loop
Pre-test loop
Post-test loop
The Infinite Loop
Chapter 9 - User-Defined Functions in C Language
User-defined function
User-defined function prototype
User-defined function definition
Calling a user-defined function
Things to consider in functions
Chapter 10 - User-Defined Data Types in C++
Structures
Accessing Structure Members
Declaration and definition of structure
Chapter 11 - Classes in C++
Creating New Types
Classes and Members
Definition of a Class member method(s) in C++
Defining an Object of a class
Accessing Class Members
Private versus public access controls
Constructor and destructor
Chapter 12 - Exception Handling in C++
How Exceptions Are Used
The steps in using exceptions
Chapter 13 - Pointer in C++
Pointer Declaration
How pointers works?
Pointer Arithmetic
Chapter 14 - File Management in C++
C++ Files and Streams
Opening a File
Closing a File
Writing to a File
Reading from a File
Self-assessment for each chapter.
This C++ Programming Language book is carefully formatted for kindle edition. Read on mac, pc, smart phone, tabs, fire, etc.
This book is for absolute beginners with or without prior knowledge in programming, as this book uses Simple words, Short sentences, and Straightforward paragraphs. The triple S way of learning C++ programming. C++ (pronounced as cee plus plus) is a general-purpose programming language. The main object of C++ is to add object-orientation to its predecessor C language. C++ has imperative, object-oriented and generic programming features, while also providing facilities for low-level memory manipulation. There are also other useful features added to C++ such as inheritance and polymorphism. The topics covered in this book includes brief introduction to C++ programming, variables, data types, control structures, functions, pointers, and file management of external files. This book starts its discussion from short history to installation of the needed software resource and a step by step screen shots of how to write C++ programming code, compile and execute C++ programs. It presents graphical representation of algorithms for simpler learning. This book is packed with working and running C++ program samples and after reading this book, the reader would be able to develop and create C++ language programs based particularly from problems given in computer science courses, hence, adopting to other programming language will be a lot easier. This book is your initial step in your programming career.
Get your copy now while it's on sale at $3.44!
Summary of topics covered:
Chapter 1 - Starting C++ Language Programming
Brief history of C++
Reasons to use C++
Beginning to Program in C++ Language
Installing the Dev-C++ for Windows
Installing compiler for Linux
Chapter 2 - Our First C++ Program
The components of a C++ program
Writing, compiling, and running our first program using Dev-C++ for Windows
Correcting errors
Writing, compiling, and running our first program with Linux
Statements
Null Statements
White spaces
Chapter 3 - Storing Data: Variables and Data Types in C++
Variable
Scope of variables
Constants
typedef declarations
4) Chapter 4 - Fundamentals of Input And Output in C++
Displaying text on-screen
Accepting user input
5) Chapter 5 - Arrays and Strings in C++
Single-Dimensional
Multi-Dimensional Array
The C-Style Character String
C Strings' pre-defined functions in C++
Chapter 6 - Mathematical Operations in C++
Expressions
Operators
Assignment
Mathematical
Precedence level
Relational
Logical
Type Casting
Pre-defined Mathematical Functions
Chapter 7 - Conditional Statements in C++
The if() statement
Single-alternative
Dual-alternative
Multiple-alternative
Nested if() statement
The switch() statement
Chapter 8 - Looping Statements in C++
Counter-controlled loop
Nested for() loop statement
Condition-controlled loop
Pre-test loop
Post-test loop
The Infinite Loop
Chapter 9 - User-Defined Functions in C Language
User-defined function
User-defined function prototype
User-defined function definition
Calling a user-defined function
Things to consider in functions
Chapter 10 - User-Defined Data Types in C++
Structures
Accessing Structure Members
Declaration and definition of structure
Chapter 11 - Classes in C++
Creating New Types
Classes and Members
Definition of a Class member method(s) in C++
Defining an Object of a class
Accessing Class Members
Private versus public access controls
Constructor and destructor
Chapter 12 - Exception Handling in C++
How Exceptions Are Used
The steps in using exceptions
Chapter 13 - Pointer in C++
Pointer Declaration
How pointers works?
Pointer Arithmetic
Chapter 14 - File Management in C++
C++ Files and Streams
Opening a File
Closing a File
Writing to a File
Reading from a File
Self-assessment for each chapter.