C++ Tutorial





Español Français 中文 Deutsch Portuguese Japanese nederlands
   
 
C++ Tutorial
C++ Language Tutorial - Object Oriented Programing - OOPs History of C++
C++ Language Tutorial - Object Oriented Programing - OOPs Structure of C++
C++ Language Tutorial - Object Oriented Programing - OOPs C++ Datatypes
C++ Language Tutorial - Object Oriented Programing - OOPs Variables
C++ Language Tutorial - Object Oriented Programing - OOPs Constants
C++ Language Tutorial - Object Oriented Programing - OOPs Operators
C++ Language Tutorial - Object Oriented Programing - OOPs Control Structures
C++ Language Tutorial - Object Oriented Programing - OOPs Arrays
C++ Language Tutorial - Object Oriented Programing - OOPs Functions
C++ Language Tutorial - Object Oriented Programing - OOPs Class
C++ Language Tutorial - Object Oriented Programing - OOPs Predefined Functions
C++ Language Tutorial - Object Oriented Programing - OOPs I/O Functions
C++ Language Tutorial - Object Oriented Programing - OOPs String, Character Functions
C++ Language Tutorial - Object Oriented Programing - OOPs Mathematical Functions
C++ Language Tutorial - Object Oriented Programing - OOPs Time Date Functions
C++ Language Tutorial - Object Oriented Programing - OOPs Dynamic Allocation
C++ Language Tutorial - Object Oriented Programing - OOPs Utility Functions
C++ Language Tutorial - Object Oriented Programing - OOPs OOP's Concept
C++ Language Tutorial - Object Oriented Programing - OOPs Special Topics
C++ Language Tutorial - Object Oriented Programing - OOPs Type casting
C++ Language Tutorial - Object Oriented Programing - OOPs Feedback
C++ Language Tutorial - Object Oriented Programing - OOPs Ask Your Doubts
 





C++ Programming Language Tutorial

Tutorial Index:



History

History of C++

C++ Structure

Structure of C++

C++ Datatypes

Datatypes
char
short int
int
long int
boolean
float
double
long double
wchar_t

Variables

C++ variables
Local variables
Global variables

Constants

C++ Constants

Operators

C++ Operators
Assignment
Arithmetic
Increment/Decrement
Relational
Logical
Bitwise
Conditional
Operator Precedence

Control Structures

Control structures
if
if else
if else if
nested if
switch
for
while
do while
return
goto
exit
break
continue
Arrays
single dimension
multi dimensional
Array as Parameter
Array of Strings
Array of Objects

Functions in C++

Functions
Passing by value
Passing by reference

Classes in C++

Class
Access specifiers
Friend function
Constructors
Destructors
Nested classes
Local classes
Overloading Constructors
Default Constructor

Predefined Functions in C++

Predefined functions

I/O Functions in C++

I/O functions
scanf()
fscanf()
sscanf()
printf()
sprintf()
fprintf()
vprintf()
vfprintf()
vsprintf()
fopen()
freopen()
getc()
fgetc()
fgets()
ungetc()
putc()
fputc()
puts()
clearerr()
feof()
ferror()
perror()
fflush()
fgetpos()
fsetpos()
fseek()
fwrite()
rewind()
remove()
tmpfile()
tmpnam()
setbuf()

String, Character Functions

String,character function
isalnum()
isalpha()
isdigit()
ispunct()
iscntrl()
isspace()
isupper()
isgraph()
islower()
isprint()
isxdigit()
strcpy()
strchr()
strcat()
strcoll()
strncmp()
strncpy()
strpbrk()
strrchr()
strstr()
strspn()
strtok()
strxfrm()
strerror()
strlen()
strcspn()
tolower()
toupper()
memset()
memchr()
memmove()
memcpy()
memcmp()

Mathematical Functions

Math functions
acos()
atan()
cos()
cosh()
atan2()
ceil()
exp()
fabs()
floor()
fmod()
frexp()
ldexp()
log()
log10()
modf()
pow()
sin()
sinh()
sqrt()
tanh()
tan()

Time Date Functions

Time,Date functions
asctime()
clock()
ctime()
difftime()
gmtime()
localeconv()
localtime()
mktime()
setlocale()
strftime()
time()

Dynamic Allocation

Dynamic allocation functions
calloc()
free()
malloc()
realloc()

Utility Functions in C++

Utility functions
abort()
abs()
atof()
atoi()
atol()
bsearch()
div()
exit()
getenv()
qsort()
rand()
srand()

OOP'\s Concepts in C++

OOPs Concept
Objects
Classes
Inheritance
Single inheritance
Multiple inheritance
Hierarchical Inheritance
Multilevel Inheritance
Hybrid Inheritance
Dynamic Binding
Polymorphism
Message passing
Encapsulation

Special Topics

Pointers
Structures, Unions
Enumeration
Typedef
Comments
Function overloading
Operator overloading
Virtual functions
Exception Handling
Namespace

Type casting in C++

Typecasting
Feedback


History:

C++ was developed in bell labs by Bjarne Stroustrup in 1983-1985. Bjarne Stroustrup, after completing the doctoral degree at the Computing Laboratory of the Cambridge University, joined the Bell Laboratories. With the aim of integrating the object oriented features of Simula with efficient and flexible C language (with OOPs), C++ was

Introduction:

C++ has evolved to be an effective "Object Oriented Programming" or commonly known as "OOPs" language. It is a high level language. Compared to other programming languages, the compilation time required for C++ is very less. This tutorial will help both beginners and advanced users.




Note
C++ is one of the most used programming languages in the world. Also known as "C with Classes". Hope you enjoy this tutorial. Do send your feedback or suggestions on this C++ tutorial. This is a copyright content.

Other Links

web hosting