SlideShare a Scribd company logo
1
Mr.R.D.SIVAKUMAR, M.Sc.,M.Phil.,M.Tech.,
ASSISTANT PROFESSOR
DEPARTMENT OF COMPUTER SCIENCE
AYYA NADAR JANAKI AMMAL COLLEGE
(Affiliated to Madurai Kamaraj University, Madurai, Re-accredited (3rd Cycle) with ‘A’ Grade
(CGPA 3.67 out of 4) by NAAC, Recognized by DBT as Star College and College of Excellence by UGC)
SIVAKASI – 626 124. (UGC Announced : Rurally and Economically Backward Area)
Virudhunagar District, Tamil Nadu.
www.rdsivakumar.blogspot.in
E-mail : sivamsccsit@gmail.com Mobile : 99440-42243
STRUCTURE OF C++ PROGRAM
Structure of C++ - R.D.Sivakumar
3
Mr.R.D.SIVAKUMAR, M.Sc.,M.Phil.,M.Tech.,
ASSISTANT PROFESSOR
DEPARTMENT OF COMPUTER SCIENCE
AYYA NADAR JANAKI AMMAL COLLEGE
(Affiliated to Madurai Kamaraj University, Madurai, Re-accredited (3rd Cycle) with ‘A’ Grade
(CGPA 3.67 out of 4) by NAAC, Recognized by DBT as Star College and College of Excellence by UGC)
SIVAKASI – 626 124. (UGC Announced : Rurally and Economically Backward Area)
Virudhunagar District, Tamil Nadu.
(Website: www.rdsivakumar.webege.com
www.rdsivakumar.blogspot.in)
Mobile Apps : Google Play Store – RDS Academic
E-mail : sivamsccsit@gmail.com Mobile : 99440-42243
STRUCTURE OF C++ PROGRAM
SOFTWARE
 A software is a collection of programs.
 Types of software : Application Software (VB) and System Software
(C and C++)
 A program is a set of instructions
 Instruction means command.
C
 C Program was developed by Dennics Rictic in the year
1980.
 C is a structured oriented programming (or) Procedure
Oriented Programming (POP).
C TERMS
 Data – A Collection of information.
 Function – To stored the group of statements. It returns
only one value.
C++
 C++ was developed by Bjarne Stroustrup in the year
1983.
 C++ is a Object Oriented Programming (OOP).
 OOP is an approach, that create a partition memory area
for both data and function
C++ TERMS
 Data - A collection of information
 Function - It returns only one value. To stored
the group of statements.
 Class - A combination of data and functions.
 Object - It is instance of class.
Structure of C++ - R.D.Sivakumar
HEADER FILE
 # include <iostream.h> - To stored the input and output
statements.
 # - Preprocessor
 Include - Keyword
 Io - Input and Output.
 Stream - Sequence of bytes.
 .h - Header file.
# include <conio.h> - To stored the clrscr( ) and getch( ) statements.
# include<math.h> - To stored the mathematical functions (Sin or Cos
etc.,)
CLASS DECLARATION
Class classname
{
private:
Data Declaration;
public:
member function declaration or definition;
};
MEMBER FUNCTIONS
Member Function Declaration
returntype functionname (datatype variablename);
Returntype – void or int.
Function name – User Defined Name.
Datatype - int
Variable name - User Defined Name.
Member Function Declaration
returntype functionname (datatype variablename) {-------; }
main()
main ( ) // It returns integer value.
{
classname object;
object.functionname ( );
}
 main( ) – It is used to access the public.
 public( ) - It is used to access the main ( ) and private.
 private( ) - It is used to access the public( ).
EXAMPLE
# include <iostream.h> c=a+b;
class display cout<<c;
{ }
private: };
int a,b,c; main( )
public: {
void dis( ) display d;
{ d.dis( );
cin>>a>>b; }
PRACTICAL TRAINING
16
17
E-Assignment Module
 C++ - http://www.rdselearningcpp.site11.com/ + E-assignment
18
E-CONTENT DEVELOPMENT
 C++ - http://www.rdselearningcpp.site11.com/
19
 Slideshare : http://www.slideshare.net/sivamsccsit/
20
WHATSAPP – +91 99440 42243
21
M-LEARNING – FREE OF COST FROM GOOGLE PLAYSTORE
 RDS CPP - https://play.google.com/store/apps/details?id=com.wRDSCPP
22
ANDROID – QR CODE CREATED
 QR codes or “quick response codes” are part of a whole new way of
connecting with learners via their smart phones. A machine-readable
code consisting of an array of black and white squares, typically used
for storing e-learning websites URLs for reading by the camera on a
smart phone. In above all the e-learning websites are converted in to
the QR Code
23
 SKYPE – SIVAKUMAR.DHANASEKARAN
24
25
26
Mr.R.D.SIVAKUMAR,M.Sc.,M.Phil.,M.Tech.,
ASSISTANT PROFESSOR OF COMPUTER SCIENCE &
ASSISTANT PROFESSOR AND HEAD, DEPARTMENT OF M.Com. (CA),
AYYA NADAR JANAKI AMMAL COLLEGE
(Affiliated to Madurai Kamaraj University, Madurai, Re-accredited (3rd Cycle) with
‘A’ Grade (CGPA 3.67 out of 4) by NAAC, Recognized by DBT as Star College and
College of Excellence by UGC)
SIVAKASI – 626 124.
www.rdsivakumar.blogspot.in
E-mail : sivamsccsit@gmail.com Mobile : 99440-42243
ACADEMIC RELEVANT SOCIAL LINKS
 Facebook : https://www.facebook.com/sivamsccsit/photos
 Blog : http://www.rdsivakumar.blogspot.in/
 Twitter : https://twitter.com/sivakum82452050
 Youtube :
https://www.youtube.com/channel/UC8jEpT5KrcTACjLQoD8yUZw
 Teacher Tube : http://www.teachertube.com/search/google-
search?query=r.d.sivakumar&safe=high&search-
type=all&head_curriculum=0&head_content_area=0&head_subject=0&hea
d_category=0&head_skill=0#gsc.tab=0&gsc.q=r.d.sivakumar&gsc.page=1
27

More Related Content

DOCX
Creating a rainbow using graphics programming in c
PPT
Structure of C++ - R.D.Sivakumar
DOC
CS6311- PROGRAMMING & DATA STRUCTURE II LABORATORY
PPTX
Inheritance
PDF
22316-2019-Summer-model-answer-paper.pdf
PPT
3.1- Data Management & Retrieval using data analytics techniques
PPT
Open Source Framework for Website Development - R.D.Sivakumar
PPTX
Using SQL-MapReduce for Advanced Analytics
Creating a rainbow using graphics programming in c
Structure of C++ - R.D.Sivakumar
CS6311- PROGRAMMING & DATA STRUCTURE II LABORATORY
Inheritance
22316-2019-Summer-model-answer-paper.pdf
3.1- Data Management & Retrieval using data analytics techniques
Open Source Framework for Website Development - R.D.Sivakumar
Using SQL-MapReduce for Advanced Analytics

Similar to Structure of C++ - R.D.Sivakumar (20)

PPTX
2.6 Types of Inheritance in OOP C++.pptx
PPT
Domain Driven Design In C#3.0
PPTX
R language tutorial
PDF
OOPS_Lab_Manual - programs using C++ programming language
PDF
Sparklyr: Big Data enabler for R users
PDF
Sparklyr: Big Data enabler for R users - Serena Signorelli, ICTEAM
PPT
Presentation on Best E-content Award - R.D.Sivakumar
PPT
HTML - R.D.Sivakumar
PPT
01_intro-cpjgknkhjgjv hugbbf vjouhghp.ppt
PPT
Ddp Cs3.0 Solar System
PDF
Spark Summit EU talk by Francois Garillot and Mohamed Kafsi
PDF
Mobility insights at Swisscom - Understanding collective mobility in Switzerland
PPT
Introduction to data structure and algorithm
PPT
01_intro-cpp.ppt
PPT
01_intro-cpp.ppt
PDF
Opps manual final copy
PDF
OOPs manual final copy
PDF
SE-IT JAVA LAB SYLLABUS
PDF
DAA-LAB-MANFSDSDFSDFSDSDSFDSDAA LAB MANUAL FOR BTECH STUDENTSUAL2020-1.pdf
PPTX
OOP_in_CPP_Animesh_Animated_Diagram.pptx
2.6 Types of Inheritance in OOP C++.pptx
Domain Driven Design In C#3.0
R language tutorial
OOPS_Lab_Manual - programs using C++ programming language
Sparklyr: Big Data enabler for R users
Sparklyr: Big Data enabler for R users - Serena Signorelli, ICTEAM
Presentation on Best E-content Award - R.D.Sivakumar
HTML - R.D.Sivakumar
01_intro-cpjgknkhjgjv hugbbf vjouhghp.ppt
Ddp Cs3.0 Solar System
Spark Summit EU talk by Francois Garillot and Mohamed Kafsi
Mobility insights at Swisscom - Understanding collective mobility in Switzerland
Introduction to data structure and algorithm
01_intro-cpp.ppt
01_intro-cpp.ppt
Opps manual final copy
OOPs manual final copy
SE-IT JAVA LAB SYLLABUS
DAA-LAB-MANFSDSDFSDFSDSDSFDSDAA LAB MANUAL FOR BTECH STUDENTSUAL2020-1.pdf
OOP_in_CPP_Animesh_Animated_Diagram.pptx
Ad

More from Sivakumar R D . (20)

PPTX
Internet Connections and Its Protocols - R D Sivakumar
PPT
Internet - R D Sivakumar.
PPTX
Data Communication - R D Sivakumar
PPTX
NETWORK SERVICES - R D Sivakumar
PPTX
Computer Communications - R D Sivakumar
PPTX
Online Data Protection - R D Sivakumar
PPT
Software Engineering - R.D.Sivakumar
PPT
Different Kinds of Internet Protocols - R.D.Sivakumar
PPT
Internet - R.D.Sivakumar
PPT
Electronic Publishing Tools for E-Learning - R.D.Sivakumar
PPT
E-learning Packages - R.D.Sivakumar
PPT
Digital Communication - R.D.Sivakumar
PPT
Digigogy in Teaching - R.D.Sivakumar
PPT
Cyber Commerce Technology - R.D.Sivakumar
PPT
Video Lesson Creation - R.D.Sivakumar
PPT
Cognitive and Personal Dimensions of Cyber Learning - R.D.Sivakumar
PPT
Innovative Presentation - R.D.Sivakumar
PPT
Open Source in E-Learning - R.D.Sivakumar
PPTX
Tuxpaint - R.D.Sivakumar
PPT
Academic Blog Design - R.D.Sivakumar
Internet Connections and Its Protocols - R D Sivakumar
Internet - R D Sivakumar.
Data Communication - R D Sivakumar
NETWORK SERVICES - R D Sivakumar
Computer Communications - R D Sivakumar
Online Data Protection - R D Sivakumar
Software Engineering - R.D.Sivakumar
Different Kinds of Internet Protocols - R.D.Sivakumar
Internet - R.D.Sivakumar
Electronic Publishing Tools for E-Learning - R.D.Sivakumar
E-learning Packages - R.D.Sivakumar
Digital Communication - R.D.Sivakumar
Digigogy in Teaching - R.D.Sivakumar
Cyber Commerce Technology - R.D.Sivakumar
Video Lesson Creation - R.D.Sivakumar
Cognitive and Personal Dimensions of Cyber Learning - R.D.Sivakumar
Innovative Presentation - R.D.Sivakumar
Open Source in E-Learning - R.D.Sivakumar
Tuxpaint - R.D.Sivakumar
Academic Blog Design - R.D.Sivakumar
Ad

Recently uploaded (20)

PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
master seminar digital applications in india
PDF
Insiders guide to clinical Medicine.pdf
PDF
Complications of Minimal Access Surgery at WLH
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
Cell Structure & Organelles in detailed.
PDF
Basic Mud Logging Guide for educational purpose
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Pre independence Education in Inndia.pdf
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPTX
GDM (1) (1).pptx small presentation for students
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Anesthesia in Laparoscopic Surgery in India
master seminar digital applications in india
Insiders guide to clinical Medicine.pdf
Complications of Minimal Access Surgery at WLH
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Cell Structure & Organelles in detailed.
Basic Mud Logging Guide for educational purpose
human mycosis Human fungal infections are called human mycosis..pptx
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
O7-L3 Supply Chain Operations - ICLT Program
Microbial diseases, their pathogenesis and prophylaxis
Pre independence Education in Inndia.pdf
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
O5-L3 Freight Transport Ops (International) V1.pdf
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
GDM (1) (1).pptx small presentation for students
PPH.pptx obstetrics and gynecology in nursing
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf

Structure of C++ - R.D.Sivakumar

  • 1. 1 Mr.R.D.SIVAKUMAR, M.Sc.,M.Phil.,M.Tech., ASSISTANT PROFESSOR DEPARTMENT OF COMPUTER SCIENCE AYYA NADAR JANAKI AMMAL COLLEGE (Affiliated to Madurai Kamaraj University, Madurai, Re-accredited (3rd Cycle) with ‘A’ Grade (CGPA 3.67 out of 4) by NAAC, Recognized by DBT as Star College and College of Excellence by UGC) SIVAKASI – 626 124. (UGC Announced : Rurally and Economically Backward Area) Virudhunagar District, Tamil Nadu. www.rdsivakumar.blogspot.in E-mail : sivamsccsit@gmail.com Mobile : 99440-42243 STRUCTURE OF C++ PROGRAM
  • 3. 3 Mr.R.D.SIVAKUMAR, M.Sc.,M.Phil.,M.Tech., ASSISTANT PROFESSOR DEPARTMENT OF COMPUTER SCIENCE AYYA NADAR JANAKI AMMAL COLLEGE (Affiliated to Madurai Kamaraj University, Madurai, Re-accredited (3rd Cycle) with ‘A’ Grade (CGPA 3.67 out of 4) by NAAC, Recognized by DBT as Star College and College of Excellence by UGC) SIVAKASI – 626 124. (UGC Announced : Rurally and Economically Backward Area) Virudhunagar District, Tamil Nadu. (Website: www.rdsivakumar.webege.com www.rdsivakumar.blogspot.in) Mobile Apps : Google Play Store – RDS Academic E-mail : sivamsccsit@gmail.com Mobile : 99440-42243 STRUCTURE OF C++ PROGRAM
  • 4. SOFTWARE  A software is a collection of programs.  Types of software : Application Software (VB) and System Software (C and C++)  A program is a set of instructions  Instruction means command.
  • 5. C  C Program was developed by Dennics Rictic in the year 1980.  C is a structured oriented programming (or) Procedure Oriented Programming (POP).
  • 6. C TERMS  Data – A Collection of information.  Function – To stored the group of statements. It returns only one value.
  • 7. C++  C++ was developed by Bjarne Stroustrup in the year 1983.  C++ is a Object Oriented Programming (OOP).  OOP is an approach, that create a partition memory area for both data and function
  • 8. C++ TERMS  Data - A collection of information  Function - It returns only one value. To stored the group of statements.  Class - A combination of data and functions.  Object - It is instance of class.
  • 10. HEADER FILE  # include <iostream.h> - To stored the input and output statements.  # - Preprocessor  Include - Keyword  Io - Input and Output.  Stream - Sequence of bytes.  .h - Header file. # include <conio.h> - To stored the clrscr( ) and getch( ) statements. # include<math.h> - To stored the mathematical functions (Sin or Cos etc.,)
  • 11. CLASS DECLARATION Class classname { private: Data Declaration; public: member function declaration or definition; };
  • 12. MEMBER FUNCTIONS Member Function Declaration returntype functionname (datatype variablename); Returntype – void or int. Function name – User Defined Name. Datatype - int Variable name - User Defined Name. Member Function Declaration returntype functionname (datatype variablename) {-------; }
  • 13. main() main ( ) // It returns integer value. { classname object; object.functionname ( ); }  main( ) – It is used to access the public.  public( ) - It is used to access the main ( ) and private.  private( ) - It is used to access the public( ).
  • 14. EXAMPLE # include <iostream.h> c=a+b; class display cout<<c; { } private: }; int a,b,c; main( ) public: { void dis( ) display d; { d.dis( ); cin>>a>>b; }
  • 16. 16
  • 17. 17
  • 18. E-Assignment Module  C++ - http://www.rdselearningcpp.site11.com/ + E-assignment 18
  • 19. E-CONTENT DEVELOPMENT  C++ - http://www.rdselearningcpp.site11.com/ 19
  • 20.  Slideshare : http://www.slideshare.net/sivamsccsit/ 20
  • 21. WHATSAPP – +91 99440 42243 21
  • 22. M-LEARNING – FREE OF COST FROM GOOGLE PLAYSTORE  RDS CPP - https://play.google.com/store/apps/details?id=com.wRDSCPP 22
  • 23. ANDROID – QR CODE CREATED  QR codes or “quick response codes” are part of a whole new way of connecting with learners via their smart phones. A machine-readable code consisting of an array of black and white squares, typically used for storing e-learning websites URLs for reading by the camera on a smart phone. In above all the e-learning websites are converted in to the QR Code 23
  • 24.  SKYPE – SIVAKUMAR.DHANASEKARAN 24
  • 25. 25
  • 26. 26 Mr.R.D.SIVAKUMAR,M.Sc.,M.Phil.,M.Tech., ASSISTANT PROFESSOR OF COMPUTER SCIENCE & ASSISTANT PROFESSOR AND HEAD, DEPARTMENT OF M.Com. (CA), AYYA NADAR JANAKI AMMAL COLLEGE (Affiliated to Madurai Kamaraj University, Madurai, Re-accredited (3rd Cycle) with ‘A’ Grade (CGPA 3.67 out of 4) by NAAC, Recognized by DBT as Star College and College of Excellence by UGC) SIVAKASI – 626 124. www.rdsivakumar.blogspot.in E-mail : sivamsccsit@gmail.com Mobile : 99440-42243
  • 27. ACADEMIC RELEVANT SOCIAL LINKS  Facebook : https://www.facebook.com/sivamsccsit/photos  Blog : http://www.rdsivakumar.blogspot.in/  Twitter : https://twitter.com/sivakum82452050  Youtube : https://www.youtube.com/channel/UC8jEpT5KrcTACjLQoD8yUZw  Teacher Tube : http://www.teachertube.com/search/google- search?query=r.d.sivakumar&safe=high&search- type=all&head_curriculum=0&head_content_area=0&head_subject=0&hea d_category=0&head_skill=0#gsc.tab=0&gsc.q=r.d.sivakumar&gsc.page=1 27