SlideShare una empresa de Scribd logo
1 de 35
Computer Project Work ,[object Object],[object Object],[object Object],[object Object],[object Object]
In 1980s  bjarne Stroustrup  decided to extend the C language by adding some features from his favourite language  Simula 67.  Simula 67 was one of the earliest object oriented language. Bjarne Stroustrup called it “C with classes”. Later  Rick Mascitti  renamed as C++. Ever since its birth, C++ evolved to cope with problems encountered by users, and though discussions. INTRODUCTION
C++ CHARACTER SET ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
TOKENS(LEXICAL UNITS) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
KEYWORDS ,[object Object]
Some of the keywords in c++ ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Identifiers ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Literals ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Integer constant ,[object Object],[object Object],[object Object],[object Object],[object Object]
Decimal Integer constant ,[object Object],[object Object]
Octal Integer constant ,[object Object],[object Object]
Hexadecimal Integer constant ,[object Object],[object Object]
Floating Constants ,[object Object],[object Object],[object Object]
Character constants ,[object Object],[object Object]
Escape sequences ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
String Literals ,[object Object],[object Object]
Punctuators ,[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object]
Operators ,[object Object],[object Object],[object Object],[object Object],[object Object]
Unary operators ,[object Object],[object Object]
Some unary operators ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Binary operators ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
A First look at C++ Program ,[object Object],[object Object]
Predefined streams in I/O Library ,[object Object],[object Object],[object Object],[object Object],[object Object]
Comments in a C++ Program ,[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],Single line comment
Multi line comments ,[object Object],[object Object],[object Object],[object Object]
Using I/O operators ,[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object]
Role of compiler ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

Más contenido relacionado

La actualidad más candente

Structure of c_program_to_input_output
Structure of c_program_to_input_outputStructure of c_program_to_input_output
Structure of c_program_to_input_output
Anil Dutt
 
12 computer science_notes_ch01_overview_of_cpp
12 computer science_notes_ch01_overview_of_cpp12 computer science_notes_ch01_overview_of_cpp
12 computer science_notes_ch01_overview_of_cpp
sharvivek
 
C++ PROGRAMMING BASICS
C++ PROGRAMMING BASICSC++ PROGRAMMING BASICS
C++ PROGRAMMING BASICS
Aami Kakakhel
 

La actualidad más candente (20)

C language
C languageC language
C language
 
LISP: Input And Output
LISP: Input And OutputLISP: Input And Output
LISP: Input And Output
 
Assignment5
Assignment5Assignment5
Assignment5
 
Basic concept of c++
Basic concept of c++Basic concept of c++
Basic concept of c++
 
Complete Tokens in c/c++
Complete Tokens in c/c++Complete Tokens in c/c++
Complete Tokens in c/c++
 
Introduction of c programming unit-ii ppt
Introduction of  c programming unit-ii pptIntroduction of  c programming unit-ii ppt
Introduction of c programming unit-ii ppt
 
Structure of c_program_to_input_output
Structure of c_program_to_input_outputStructure of c_program_to_input_output
Structure of c_program_to_input_output
 
12 computer science_notes_ch01_overview_of_cpp
12 computer science_notes_ch01_overview_of_cpp12 computer science_notes_ch01_overview_of_cpp
12 computer science_notes_ch01_overview_of_cpp
 
Assignment12
Assignment12Assignment12
Assignment12
 
Data type in c
Data type in cData type in c
Data type in c
 
Assignment10
Assignment10Assignment10
Assignment10
 
Tokens in C++
Tokens in C++Tokens in C++
Tokens in C++
 
Learning c - An extensive guide to learn the C Language
Learning c - An extensive guide to learn the C LanguageLearning c - An extensive guide to learn the C Language
Learning c - An extensive guide to learn the C Language
 
C++ Programming Language Training in Ambala ! Batra Computer Centre
C++ Programming Language Training in Ambala ! Batra Computer CentreC++ Programming Language Training in Ambala ! Batra Computer Centre
C++ Programming Language Training in Ambala ! Batra Computer Centre
 
CSharp Language Overview Part 1
CSharp Language Overview Part 1CSharp Language Overview Part 1
CSharp Language Overview Part 1
 
Unit 2. Elements of C
Unit 2. Elements of CUnit 2. Elements of C
Unit 2. Elements of C
 
CProgrammingTutorial
CProgrammingTutorialCProgrammingTutorial
CProgrammingTutorial
 
C++ PROGRAMMING BASICS
C++ PROGRAMMING BASICSC++ PROGRAMMING BASICS
C++ PROGRAMMING BASICS
 
Syntax analysis
Syntax analysisSyntax analysis
Syntax analysis
 
Programming in C- Introduction
Programming in C- IntroductionProgramming in C- Introduction
Programming in C- Introduction
 

Destacado

Universal Design for Learning
Universal Design for LearningUniversal Design for Learning
Universal Design for Learning
KressinE
 
Thesis yossie
Thesis yossieThesis yossie
Thesis yossie
dmolina87
 
Thomas corporate presentation
Thomas corporate presentationThomas corporate presentation
Thomas corporate presentation
lloydf
 
[Japanese]2011 dec ttc+arib
[Japanese]2011 dec ttc+arib[Japanese]2011 dec ttc+arib
[Japanese]2011 dec ttc+arib
Tsuguo Nobe
 
Two way fine art pen & brush
Two way fine art pen & brushTwo way fine art pen & brush
Two way fine art pen & brush
ibec546
 
Dolce dental, Lake Worth- Florida
Dolce dental, Lake Worth- FloridaDolce dental, Lake Worth- Florida
Dolce dental, Lake Worth- Florida
Vincent_Dolce
 
57031627 hr-final-project-mobilink-1
57031627 hr-final-project-mobilink-157031627 hr-final-project-mobilink-1
57031627 hr-final-project-mobilink-1
shahmpa
 
Evaluation+6 Presentation
Evaluation+6 PresentationEvaluation+6 Presentation
Evaluation+6 Presentation
eoinb
 
Apple-arte-scienza
Apple-arte-scienzaApple-arte-scienza
Apple-arte-scienza
dariodarius
 
solid waste illegal dump
solid waste illegal dumpsolid waste illegal dump
solid waste illegal dump
scswa
 

Destacado (20)

Universal Design for Learning
Universal Design for LearningUniversal Design for Learning
Universal Design for Learning
 
Thesis yossie
Thesis yossieThesis yossie
Thesis yossie
 
Gold For Investement
Gold For InvestementGold For Investement
Gold For Investement
 
Thomas corporate presentation
Thomas corporate presentationThomas corporate presentation
Thomas corporate presentation
 
[Japanese]2011 dec ttc+arib
[Japanese]2011 dec ttc+arib[Japanese]2011 dec ttc+arib
[Japanese]2011 dec ttc+arib
 
How to transform your entire life in just 55 m
How to transform your entire life in just 55 mHow to transform your entire life in just 55 m
How to transform your entire life in just 55 m
 
Two way fine art pen & brush
Two way fine art pen & brushTwo way fine art pen & brush
Two way fine art pen & brush
 
Stypendium z Wyboru
Stypendium z WyboruStypendium z Wyboru
Stypendium z Wyboru
 
Dolce dental, Lake Worth- Florida
Dolce dental, Lake Worth- FloridaDolce dental, Lake Worth- Florida
Dolce dental, Lake Worth- Florida
 
Tips to Improve Your Life
Tips to Improve Your LifeTips to Improve Your Life
Tips to Improve Your Life
 
57031627 hr-final-project-mobilink-1
57031627 hr-final-project-mobilink-157031627 hr-final-project-mobilink-1
57031627 hr-final-project-mobilink-1
 
Evaluation+6 Presentation
Evaluation+6 PresentationEvaluation+6 Presentation
Evaluation+6 Presentation
 
Твой Дом - Твоя Крепость.ru (Дом.ru)
Твой Дом - Твоя Крепость.ru (Дом.ru)Твой Дом - Твоя Крепость.ru (Дом.ru)
Твой Дом - Твоя Крепость.ru (Дом.ru)
 
Daftarhadir&nilai statistik1112
Daftarhadir&nilai statistik1112Daftarhadir&nilai statistik1112
Daftarhadir&nilai statistik1112
 
Rrfawaz
RrfawazRrfawaz
Rrfawaz
 
Diary of make
Diary of makeDiary of make
Diary of make
 
Asam Basa (Kimia)
Asam Basa (Kimia)Asam Basa (Kimia)
Asam Basa (Kimia)
 
69613193 pete-y-pat-2011-2012-1
69613193 pete-y-pat-2011-2012-169613193 pete-y-pat-2011-2012-1
69613193 pete-y-pat-2011-2012-1
 
Apple-arte-scienza
Apple-arte-scienzaApple-arte-scienza
Apple-arte-scienza
 
solid waste illegal dump
solid waste illegal dumpsolid waste illegal dump
solid waste illegal dump
 

Similar a Getting started with c++

Similar a Getting started with c++ (20)

Introduction to C Programming
Introduction to C ProgrammingIntroduction to C Programming
Introduction to C Programming
 
Unit 4 Foc
Unit 4 FocUnit 4 Foc
Unit 4 Foc
 
Ch02
Ch02Ch02
Ch02
 
Getting started with C++
Getting started with C++Getting started with C++
Getting started with C++
 
INTRODUCTION TO C++.pptx
INTRODUCTION TO C++.pptxINTRODUCTION TO C++.pptx
INTRODUCTION TO C++.pptx
 
02a fundamental c++ types, arithmetic
02a   fundamental c++ types, arithmetic 02a   fundamental c++ types, arithmetic
02a fundamental c++ types, arithmetic
 
C_Programming_Language_tutorial__Autosaved_.pptx
C_Programming_Language_tutorial__Autosaved_.pptxC_Programming_Language_tutorial__Autosaved_.pptx
C_Programming_Language_tutorial__Autosaved_.pptx
 
1 Revision Tour
1 Revision Tour1 Revision Tour
1 Revision Tour
 
C introduction
C introductionC introduction
C introduction
 
Mca i pic u-2 datatypes and variables in c language
Mca i pic u-2 datatypes and variables in c languageMca i pic u-2 datatypes and variables in c language
Mca i pic u-2 datatypes and variables in c language
 
datatypes and variables in c language
 datatypes and variables in c language datatypes and variables in c language
datatypes and variables in c language
 
Bsc cs i pic u-2 datatypes and variables in c language
Bsc cs i pic u-2 datatypes and variables in c languageBsc cs i pic u-2 datatypes and variables in c language
Bsc cs i pic u-2 datatypes and variables in c language
 
Diploma ii cfpc u-2 datatypes and variables in c language
Diploma ii  cfpc u-2 datatypes and variables in c languageDiploma ii  cfpc u-2 datatypes and variables in c language
Diploma ii cfpc u-2 datatypes and variables in c language
 
Btech i pic u-2 datatypes and variables in c language
Btech i pic u-2 datatypes and variables in c languageBtech i pic u-2 datatypes and variables in c language
Btech i pic u-2 datatypes and variables in c language
 
C programing Tutorial
C programing TutorialC programing Tutorial
C programing Tutorial
 
C intro
C introC intro
C intro
 
C presentation book
C presentation bookC presentation book
C presentation book
 
C++ lecture 01
C++   lecture 01C++   lecture 01
C++ lecture 01
 
5 introduction-to-c
5 introduction-to-c5 introduction-to-c
5 introduction-to-c
 
Introduction%20C.pptx
Introduction%20C.pptxIntroduction%20C.pptx
Introduction%20C.pptx
 

Último

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 

Último (20)

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 

Getting started with c++

  • 1.
  • 2. In 1980s bjarne Stroustrup decided to extend the C language by adding some features from his favourite language Simula 67. Simula 67 was one of the earliest object oriented language. Bjarne Stroustrup called it “C with classes”. Later Rick Mascitti renamed as C++. Ever since its birth, C++ evolved to cope with problems encountered by users, and though discussions. INTRODUCTION
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.