Presented by
Fahad Farooq
THE
PROGRAMMING LANGUAGE
Contents:
• INTRODUCTION
• HISTORY
• BASIC STRUCTURE
• OPERATORS
• IMPORTANCE
• IDE
• EXAMPLES
Introduction
• C++ is a high-level programming language.
• Closer to human language than machine languages.
• It allows the programmer to type commands (code) that computer can
understand.
• Like other languages C++ has own grammar or syntax rules.
• It has ability to write programs that runs incredibly quickly.
• It has compiler that converts the program from our form to a form that a
computer can read or execute.
• Programs like GOOGLE CHROME and MICROSOFT OFFICE are all written
on C++.
History
• In 1979, at Bell Laboratories a programming language was developed by Bjarne
Stroustrup which was based upon C language.
• During creation of Ph.D. thesis he worked with Simula.
• Simula is basically useful for simulation work and was
first language to support OOP.
• It was originally named as C WITH CLASSES but later it was renamed C++ in
1983.
• C++ supports both Procedural and Object Oriented Programming.
Basic Structure
1
2
3
4
5
6
7
// my first program in C++
#include <iostream>
int main()
{
std::cout << "Hello World!";
}
Hello world!
Operators
Importance
• Language C++ is widely used in Software Industry.
• If you know C++ you can easily understand Java , Javascript and many other.
• Excellent tools use to build basic blocks of project.
• Secure and efficient.
• Editing of code is easy and safe.
• Android apps, Server side program can be write.
IDE
Software that provide useful programing environment for C++:
• Dev-C++
• Turbo-C++
• NetBeans IDE
• Code Blocks
• Context
• Notepad++
• Ultimate++ IDE
Examples
Thank
you

Basic information of C++

  • 2.
  • 3.
    Contents: • INTRODUCTION • HISTORY •BASIC STRUCTURE • OPERATORS • IMPORTANCE • IDE • EXAMPLES
  • 4.
    Introduction • C++ isa high-level programming language. • Closer to human language than machine languages. • It allows the programmer to type commands (code) that computer can understand. • Like other languages C++ has own grammar or syntax rules. • It has ability to write programs that runs incredibly quickly. • It has compiler that converts the program from our form to a form that a computer can read or execute. • Programs like GOOGLE CHROME and MICROSOFT OFFICE are all written on C++.
  • 5.
    History • In 1979,at Bell Laboratories a programming language was developed by Bjarne Stroustrup which was based upon C language. • During creation of Ph.D. thesis he worked with Simula. • Simula is basically useful for simulation work and was first language to support OOP. • It was originally named as C WITH CLASSES but later it was renamed C++ in 1983. • C++ supports both Procedural and Object Oriented Programming.
  • 6.
    Basic Structure 1 2 3 4 5 6 7 // myfirst program in C++ #include <iostream> int main() { std::cout << "Hello World!"; } Hello world!
  • 7.
  • 8.
    Importance • Language C++is widely used in Software Industry. • If you know C++ you can easily understand Java , Javascript and many other. • Excellent tools use to build basic blocks of project. • Secure and efficient. • Editing of code is easy and safe. • Android apps, Server side program can be write.
  • 9.
    IDE Software that provideuseful programing environment for C++: • Dev-C++ • Turbo-C++ • NetBeans IDE • Code Blocks • Context • Notepad++ • Ultimate++ IDE
  • 10.
  • 12.

Editor's Notes

  • #6 Born 30th December 1950, 66 years old. Wrote 6 books on c++. OOP object oriented programming based on the object contain data. OOP combines the data structure and algorithm of a software in a box. Called classes.
  • #7 #include <iosteam> instruct the preprocessor to include the stardard code of c++ header iostream allows to performs standard input and output operations. Initiates the declaration of function. Function is group of code statements which are given names. Function named main is special function, when program run it called the function. Beginning of the main function. Function body that defines what happens when main is called. Std::cout identifies the standard character output device usually this is computer screen. Insertion<< operators
  • #10 Editor where we write and edit the programs, compiler convert the program from high level to machine language and linker is a program that combines object programs with other programs in library, linker link the object code with library and store it on disks.