C++ Fundamentals
Speaker:
Jason V. Castellano
is a low-level programming language
developed by Bjarne Stroustrup at Bell Labs.
C++ adds object-oriented features, C. C++ is
one of the most popular programming
language for graphical applications, such as
those that run in Windows and Macintosh
environments.
• Mozilla
• Adobe Systems
• Google
• Winamp Media Player
• Apple – OS X
• Microsoft
#include “iostream.h”
#include “conio.h”
Using namespace std;
int main() {
cout<< “ Hello world ”;
getch();
return 0;
}
// my first program in C++
#include “iostream.h”
#include “conio.h”
Using namespace std;
Preprocessor
- a computer program that modifies data to conform
with the input requirements of another program.
main() function
it is the function called when
the program is run.
The execution of all C++
programs begins with
the main function
int main() { }
Cout<< - Console Out is a standard output
stream
cout<<“Hello Word”;
Ex:
Output:
Hello World
Cin>> - Console in is a standard input
stream
cout<<“Enter name:”;
Ex:
cin>>name;
int
type used to define numeric
variables holding whole numbers.
It defines a character primitive type
float is a single precision (32 bit)
floating point data type
is a double precision (64 bit)
char
float
double
string generally means an ordered
sequence of characters
string
C++
C++

C++

  • 1.
  • 2.
    is a low-levelprogramming language developed by Bjarne Stroustrup at Bell Labs. C++ adds object-oriented features, C. C++ is one of the most popular programming language for graphical applications, such as those that run in Windows and Macintosh environments.
  • 3.
    • Mozilla • AdobeSystems • Google • Winamp Media Player
  • 4.
    • Apple –OS X • Microsoft
  • 5.
    #include “iostream.h” #include “conio.h” Usingnamespace std; int main() { cout<< “ Hello world ”; getch(); return 0; } // my first program in C++
  • 6.
    #include “iostream.h” #include “conio.h” Usingnamespace std; Preprocessor - a computer program that modifies data to conform with the input requirements of another program.
  • 7.
    main() function it isthe function called when the program is run. The execution of all C++ programs begins with the main function int main() { }
  • 8.
    Cout<< - ConsoleOut is a standard output stream cout<<“Hello Word”; Ex: Output: Hello World
  • 9.
    Cin>> - Consolein is a standard input stream cout<<“Enter name:”; Ex: cin>>name;
  • 10.
    int type used todefine numeric variables holding whole numbers. It defines a character primitive type float is a single precision (32 bit) floating point data type is a double precision (64 bit) char float double string generally means an ordered sequence of characters string