SlideShare une entreprise Scribd logo
1  sur  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]

Contenu connexe

Tendances

Pointers in c
Pointers in cPointers in c
Pointers in c
Mohd Arif
 
Data structure lecture 2
Data structure lecture 2Data structure lecture 2
Data structure lecture 2
Kumar
 
8-Practice problems on operator precedence parser-24-05-2023.docx
8-Practice problems on operator precedence parser-24-05-2023.docx8-Practice problems on operator precedence parser-24-05-2023.docx
8-Practice problems on operator precedence parser-24-05-2023.docx
venkatapranaykumarGa
 
Overview of c language
Overview of c languageOverview of c language
Overview of c language
shalini392
 

Tendances (20)

POINTERS IN C
POINTERS IN CPOINTERS IN C
POINTERS IN C
 
Array operations
Array operationsArray operations
Array operations
 
Pointers in c++ by minal
Pointers in c++ by minalPointers in c++ by minal
Pointers in c++ by minal
 
Basics of pointer, pointer expressions, pointer to pointer and pointer in fun...
Basics of pointer, pointer expressions, pointer to pointer and pointer in fun...Basics of pointer, pointer expressions, pointer to pointer and pointer in fun...
Basics of pointer, pointer expressions, pointer to pointer and pointer in fun...
 
Array in c
Array in cArray in c
Array in c
 
Pointers in c
Pointers in cPointers in c
Pointers in c
 
Infix to postfix conversion
Infix to postfix conversionInfix to postfix conversion
Infix to postfix conversion
 
Data structure lecture 2
Data structure lecture 2Data structure lecture 2
Data structure lecture 2
 
C++ file
C++ fileC++ file
C++ file
 
Printf and scanf
Printf and scanfPrintf and scanf
Printf and scanf
 
8-Practice problems on operator precedence parser-24-05-2023.docx
8-Practice problems on operator precedence parser-24-05-2023.docx8-Practice problems on operator precedence parser-24-05-2023.docx
8-Practice problems on operator precedence parser-24-05-2023.docx
 
C operator and expression
C operator and expressionC operator and expression
C operator and expression
 
Enums in c
Enums in cEnums in c
Enums in c
 
detailed information about Pointers in c language
detailed information about Pointers in c languagedetailed information about Pointers in c language
detailed information about Pointers in c language
 
Void pointer in c
Void pointer in cVoid pointer in c
Void pointer in c
 
Pointer in C++
Pointer in C++Pointer in C++
Pointer in C++
 
Token, Pattern and Lexeme
Token, Pattern and LexemeToken, Pattern and Lexeme
Token, Pattern and Lexeme
 
C programming - Pointers
C programming - PointersC programming - Pointers
C programming - Pointers
 
5bit field
5bit field5bit field
5bit field
 
Overview of c language
Overview of c languageOverview of c language
Overview of c language
 

En vedette

Laghu V Kutir Udyog (Small Scale Industries) लघु व कुटीर उद्योग (स्मॉल स्के...
Laghu V Kutir Udyog (Small Scale Industries)  लघु व कुटीर उद्योग  (स्मॉल स्के...Laghu V Kutir Udyog (Small Scale Industries)  लघु व कुटीर उद्योग  (स्मॉल स्के...
Laghu V Kutir Udyog (Small Scale Industries) लघु व कुटीर उद्योग (स्मॉल स्के...
Ajjay Kumar Gupta
 
Computer project work
Computer project workComputer project work
Computer project work
kartikwakekar
 
Project work of computer sc
Project work of computer scProject work of computer sc
Project work of computer sc
prakash9526
 
Types of computer networks
Types of computer networksTypes of computer networks
Types of computer networks
Harsh Sachdev
 
Computer project work [viii]2008 09
Computer project work  [viii]2008 09Computer project work  [viii]2008 09
Computer project work [viii]2008 09
982665379
 

En vedette (20)

Computer science project work
Computer science project workComputer science project work
Computer science project work
 
Tokens expressionsin C++
Tokens expressionsin C++Tokens expressionsin C++
Tokens expressionsin C++
 
Computer project work
Computer project workComputer project work
Computer project work
 
Laghu V Kutir Udyog (Small Scale Industries) लघु व कुटीर उद्योग (स्मॉल स्के...
Laghu V Kutir Udyog (Small Scale Industries)  लघु व कुटीर उद्योग  (स्मॉल स्के...Laghu V Kutir Udyog (Small Scale Industries)  लघु व कुटीर उद्योग  (स्मॉल स्के...
Laghu V Kutir Udyog (Small Scale Industries) लघु व कुटीर उद्योग (स्मॉल स्के...
 
Computer project work
Computer project workComputer project work
Computer project work
 
Data Handling
Data HandlingData Handling
Data Handling
 
Project work of computer sc
Project work of computer scProject work of computer sc
Project work of computer sc
 
Computer project work
Computer project workComputer project work
Computer project work
 
A presentation on types of network
A presentation on types of networkA presentation on types of network
A presentation on types of network
 
Variables and data types in C++
Variables and data types in C++Variables and data types in C++
Variables and data types in C++
 
Overloading of io stream operators
Overloading of io stream operatorsOverloading of io stream operators
Overloading of io stream operators
 
C++ L01-Variables
C++ L01-VariablesC++ L01-Variables
C++ L01-Variables
 
Types of computer networks
Types of computer networksTypes of computer networks
Types of computer networks
 
Computer project work [viii]2008 09
Computer project work  [viii]2008 09Computer project work  [viii]2008 09
Computer project work [viii]2008 09
 
Overview of programming paradigms
Overview of programming paradigmsOverview of programming paradigms
Overview of programming paradigms
 
Lecture 2 C++ | Variable Scope, Operators in c++
Lecture 2 C++ | Variable Scope, Operators in c++Lecture 2 C++ | Variable Scope, Operators in c++
Lecture 2 C++ | Variable Scope, Operators in c++
 
MS Access teaching powerpoint tasks
MS Access teaching powerpoint tasksMS Access teaching powerpoint tasks
MS Access teaching powerpoint tasks
 
Input and output in C++
Input and output in C++Input and output in C++
Input and output in C++
 
Stream classes in C++
Stream classes in C++Stream classes in C++
Stream classes in C++
 
हिंदी परियोजना कार्य
हिंदी परियोजना कार्यहिंदी परियोजना कार्य
हिंदी परियोजना कार्य
 

Similaire à Getting started with c++

Similaire à Getting started with c++ (20)

Getting started with c++.pptx
Getting started with c++.pptxGetting started with c++.pptx
Getting started with c++.pptx
 
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
 
Getting Started with C++
Getting Started with C++Getting Started with C++
Getting Started with C++
 
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
 
C++
C++C++
C++
 
1 Revision Tour
1 Revision Tour1 Revision Tour
1 Revision Tour
 
CProgrammingTutorial
CProgrammingTutorialCProgrammingTutorial
CProgrammingTutorial
 
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
 

Dernier

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 

Dernier (20)

ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
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)
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
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
 
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
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 

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.