Conversions    
 
  Constantes 
 
  Kepler's laws  
 
  Unités  
 
  ask us  
 


Coding &
programming


Installing CodeBlocs compiler

C language


C++ language




© The scientific sentence. 1998-2016 
 

Programming with C/C++ Language
Introduction to the C++ Language





Introduction to the C++ Language



1. The C++ program

C++ is an industrial strength language like Java. A program is a set of codes.

A C++ program is, as any program, a collection of commands, which tell the computer to do "something".

This collection of commands is usually called C++ source code, source code or just code.

Commands are either functions or keywords. Keywords are a basic building block of the language, while functions are, in fact, usually written in terms of simpler functions.


2. How does a C++ program actually start ?

Every program in C++ has one function, always named main , that is always called when your program first executes. From main, you can also call other functions whether they are written by us or, as mentioned earlier, provided by the compiler, that is prdefined.


3. How get access to prewritten functions ?

To get access to those prewritten functions , that is to access those standard functions that comes with the compiler, you include a header with the #include directive.








  

Google
  Web ScientificSentence
 


chimie labs
|
scientific sentence
|
java
|
php
|
green cat
|
contact
|


© Scientificsentence 2009. All rights reserved.