C++ Repository

Several source codes are collected here in three different categories: Starting with C++, Advanced and Using Qt. This home-page is created to be a repository of C++ source codes, that examines single C++ instructions to better understand how they work and how they can be used. This site in NOT designed to be a C++ Tutorial.


Contents:


gmake - Parallel execution of gmakeenvironment - Preparing the complete environment to work with C/C++ (gcc, eclipse,…).
const - Understanding const type variable declaration.
extern - Using global variables with extern.
if - Different forms to write an if statement.
String 2 Float - Tips to convert a string in float (double).
Type casting - Convert an expression of a given type into another type (cast).
Macros - Use of macros - #define.
Macros (2) - Preprocessor directives.
union - Dynamic types with unions.
Inheritance - Inheritance (specialization), public, private and protected.

Database:

gmake arrowUp.jpg

Parallel execution of gmake.

environment arrowUp.jpg

Preparing the complete environment to work with C/C++ (gcc, eclipse,…).

const arrowUp.jpg

Understanding const type variable and function declaration.

extern arrowUp.jpg

Using global variables with extern.

if arrowUp.jpg

Different forms to write an if statement.

String 2 Float arrowUp.jpg

Tips to convert a string in float (double).

Type Casting arrowUp.jpg

Convert an expression of a given type into another type.

Macros arrowUp.jpg

Use of macros - #define.

Macros (2) arrowUp.jpg

Preprocessor directives.

union arrowUp.jpg

Dynamic types with unions.

Inheritance arrowUp.jpg

Inheritance (specialization), public, private and protected.

Bibliography
1. cplusplus.com . Type Casting . URL: http://www.cplusplus.com/doc/tutorial/typecasting.html .
2. Visual C++ Developer Center. Preprocessor Directives. URL: http://msdn.microsoft.com/en-us/library/3sxhs2ty(VS.80).aspx .
3. Copyright © 2002-2008 Bjørn Reese Pre-defined C/C++ Compiler Macros. URL: http://predef.sourceforge.net/ .
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License