Mega Code Archive
Search
.Net
ASP .Net
ASP .Net Tutorial
C#
C# Book
C# by API
C# Tutorial
VB.Net
VB.Net by API
VB.Net Tutorial
Visual C++ .Net
VisualBasic Script
Java
Java
Java Book
Java by API
Java Tutorial
Script
Flash ActionScript
Flex
JavaScript DHTML
JavaScript Reference
JavaScript Tutorial
Database
MSSQL
MSSQL Tutorial
MySQL
MySQL Tutorial
Oracle PLSQL
Oracle PLSQL Tutorial
PostgreSQL
Languages
Android
C
C Tutorial
C++
C++ Tutorial
Delphi
Perl
PHP
Python
Python Tutorial
Ruby
Silverlight
Office
MSOfficeExcel 2007 Tutorial
MSOfficePowerPoint 2007 Tutorial
MSOfficeWord 2007 Tutorial
Data
XML
XML Tutorial
C++ Tutorial
Language Basics 59 codes
Home
C++ Tutorial
Language Basics
1 A C++ program begins at main()
2 A namespace
3 A nested namespace
4 A scoping example
5 A static local variable causes the compiler to create permanent storage for it in much the same way that it does for a glo
6 Assign value to a variable
7 Bring only a few names into the global namespace
8 Calculating with integer constants
9 Call a function in main
10 Comparing data values
11 Const double value
12 C-style and C++ style comments
13 Define constant
14 Demonstrate mutable
15 Demonstrates constants
16 Demonstrating storage-class specifier mutable
17 Demonstrating the const type qualifier
18 Dynamic initialization
19 Finding maximum and minimum values for data types
20 Function in a namespace reference variables in the same namespace
21 Global and block scope
22 Global class variable
23 Global variables across functions
24 Global variables are known throughout the entire program and may be used by any piece of code
25 Initialize static member field outside the class declaration
26 Inner block variable scope
27 Link as a C function
28 Names in inner scopes can hide names in outer scopes
29 Reference global variable, variable in the nested namespace
30 Reference variables in namespaces
31 Reuse namespace
32 Same Program Using Constant Integers
33 Scope code block
34 This is a simple C++ program
35 Use
36 Use a global variable
37 Use a namespace
38 Use explicit std
39 Use function defined in a namespace
40 Use function in an expression
41 Use namespace std
42 Use Namespace to organize functions
43 Use static variable to compute a running average of numbers entered by the user
44 Use the using keyword
45 Using a properly initialized constant variable
46 Using a static long variable
47 Using namespace aliases
48 Using namespace in program block
49 Using namespace std
50 Using the assignment operator
51 Using the scope resolution operator
52 Using the scope resolution operator (2)
53 Using the unary scope resolution operator
54 Using the using directive
55 Using unnamed namespaces
56 Variable block scope
57 Variable size
58 Variables can be local to a block
59 Working with integer variables