Return to book
Review this book
About the author
Introduction
1.
C++ programming language
1.1.
Why to use C++?
1.2.
Editors, compilers and extensions
1.3.
C++ and Erle-Brain
2.
C++ basics
2.1.
Hello World
2.2.
Tokens
2.3.
Line-By-Line Explanation
2.4.
Operators
2.5.
Data Types
2.6.
Variables
2.7.
Input
2.8.
Exercises:Basics
3.
Flow control
3.1.
Operators
3.2.
Conditionals
3.3.
switch-case
3.4.
Loops
3.4.1.
while and do-while
3.4.2.
for
3.5.
Exercises: Flow Control
4.
Functions
4.1.
Built-in functions
4.2.
Define your own function
4.3.
Global Variables
4.4.
Pass by reference
4.5.
Returning multile values
4.6.
Exercises: Functions
5.
Arrays and Strings
5.1.
Arrays basics
5.2.
Strings basics
5.3.
Exercises: Arrays
6.
Pointers
6.1.
Pointers and their behavior
6.1.1.
Pointers usage/syntaxis
6.2.
Pointers:Runtime Error
6.3.
References
6.4.
Pointers and arrays
6.5.
Exercises: Pointers
7.
Classes and structs
7.1.
Classes
7.2.
Structures
7.3.
Access Modifiers
7.4.
Instances
7.5.
Classes of classes
7.6.
Passing classes to functions
7.6.1.
Passing by reference
7.7.
Class Methods
7.8.
Constructors
7.9.
Exercises: Classes
8.
Object-Oriented Programming
8.1.
The basic Ideas of OOP
8.2.
Encapsulation
8.3.
Inheritance
8.4.
Polymorphism
8.4.1.
virtual Functions
8.5.
Multiple Inheritance
8.6.
Exercises: OOP
9.
Memory Management
9.1.
Scoping and Memory
9.2.
The new operator
9.3.
The delete operator
9.4.
Allocating Arrays
9.5.
Exercises: Memory
10.
Advanced topics I
10.1.
Templates
10.1.1.
Standard Template Library
10.2.
Static and const members
10.2.1.
const and non-const
10.3.
Overloading operators
10.4.
Exercises: Advaced I
11.
Advanced topics II
11.1.
File handling
11.2.
Reading strings
11.3.
enum
11.4.
Exceptions
11.5.
friend Functions/Classes
11.6.
Preprocessor Macros
11.7.
Casting
11.8.
Exercises: Advanced II
12.
Exercises: miscellaneous
13.
GDB
13.1.
What is GDB?
13.2.
First steps
13.2.1.
Erle-Brain and GDB
13.2.2.
Starting GDB
13.3.
GDB commands
13.4.
Running programs
13.5.
GDB Examples
Powered by
GitBook
A
A
Serif
Sans
White
Sepia
Night
Twitter
Google
Facebook
Weibo
Instapaper
Erle Robotics C++ GitBook
First steps
In this section you can find the first steps to follow when using GDB.