+ All Categories
Home > Education > Structure of C++ - R.D.Sivakumar

Structure of C++ - R.D.Sivakumar

Date post: 27-Jan-2017
Category:
Upload: rd-sivakumar
View: 10 times
Download: 1 times
Share this document with a friend
27
1 Mr.R.D.SIVAKUMAR, Mr.R.D.SIVAKUMAR, M.Sc.,M.Phil.,M.Tech., M.Sc.,M.Phil.,M.Tech., ASSISTANT PROFESSOR ASSISTANT PROFESSOR DEPARTMENT OF COMPUTER SCIENCE DEPARTMENT OF COMPUTER SCIENCE AYYA NADAR JANAKI AMMAL COLLEGE AYYA NADAR JANAKI AMMAL COLLEGE (Affiliated to Madurai Kamaraj University, Madurai, Re-accredited (3 rd 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 SIVAKASI – 626 124. (UGC Announced : Rurally and Economically Backward Area) Economically Backward Area) Virudhunagar District, Tamil Nadu. Virudhunagar District, Tamil Nadu. (Website: www.rdsivakumar.webege.com www.rdsivakumar.blogspot.in ) Mobile Apps : Google Play Store – RDS Academic STRUCTURE OF C++ PROGRAM
Transcript
Page 1: Structure of C++ - R.D.Sivakumar

11

Mr.R.D.SIVAKUMAR, M.Sc.,M.Phil.,M.Tech.,Mr.R.D.SIVAKUMAR, M.Sc.,M.Phil.,M.Tech.,ASSISTANT PROFESSORASSISTANT PROFESSOR

DEPARTMENT OF COMPUTER SCIENCE DEPARTMENT OF COMPUTER SCIENCE AYYA NADAR JANAKI AMMAL COLLEGEAYYA 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)SIVAKASI – 626 124. (UGC Announced : Rurally and Economically Backward Area)Virudhunagar District, Tamil Nadu. Virudhunagar District, Tamil Nadu. (Website: www.rdsivakumar.webege.com www.rdsivakumar.blogspot.in)

Mobile Apps : Google Play Store – RDS Academic E-mail : [email protected] Mobile : 99440-42243

STRUCTURE OF C++ PROGRAM

Page 2: Structure of C++ - R.D.Sivakumar
Page 3: Structure of C++ - R.D.Sivakumar

33

Mr.R.D.SIVAKUMAR, M.Sc.,M.Phil.,M.Tech.,Mr.R.D.SIVAKUMAR, M.Sc.,M.Phil.,M.Tech.,ASSISTANT PROFESSORASSISTANT PROFESSOR

DEPARTMENT OF COMPUTER SCIENCE DEPARTMENT OF COMPUTER SCIENCE AYYA NADAR JANAKI AMMAL COLLEGEAYYA 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)SIVAKASI – 626 124. (UGC Announced : Rurally and Economically Backward Area)Virudhunagar District, Tamil Nadu. Virudhunagar District, Tamil Nadu. (Website: www.rdsivakumar.webege.com www.rdsivakumar.blogspot.in)

Mobile Apps : Google Play Store – RDS Academic E-mail : [email protected] Mobile : 99440-42243

STRUCTURE OF C++ PROGRAM

Page 4: Structure of C++ - R.D.Sivakumar

SOFTWAREA 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.

Page 5: Structure of C++ - R.D.Sivakumar

C

C Program was developed by Dennics Rictic in the year 1980.

C is a structured oriented programming (or) Procedure Oriented Programming (POP).

Page 6: Structure of C++ - R.D.Sivakumar

C TERMSData – A Collection of information.

Function – To stored the group of statements. It returns only one value.

Page 7: Structure of C++ - R.D.Sivakumar

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

Page 8: Structure of C++ - R.D.Sivakumar

C++ TERMSData - 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.

Page 9: Structure of C++ - R.D.Sivakumar
Page 10: 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.,)

Page 11: Structure of C++ - R.D.Sivakumar

CLASS DECLARATIONClass classname{

private:Data Declaration;public:member function declaration or definition;

};

Page 12: Structure of C++ - R.D.Sivakumar

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) {-------; }

Page 13: Structure of C++ - R.D.Sivakumar

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( ).

Page 14: Structure of C++ - R.D.Sivakumar

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; }

Page 15: Structure of C++ - R.D.Sivakumar

PRACTICAL TRAINING

Page 16: Structure of C++ - R.D.Sivakumar

1616

Page 17: Structure of C++ - R.D.Sivakumar

1717

Page 18: Structure of C++ - R.D.Sivakumar

E-Assignment Module C++ - http://www.rdselearningcpp.site11.com/ + E-

assignment

1818

Page 19: Structure of C++ - R.D.Sivakumar

E-CONTENT DEVELOPMENT C++ - http://www.rdselearningcpp.site11.com/

1919

Page 20: Structure of C++ - R.D.Sivakumar

Slideshare : http://www.slideshare.net/sivamsccsit/

2020

Page 21: Structure of C++ - R.D.Sivakumar

WHATSAPP – +91 99440 42243

2121

Page 22: Structure of C++ - R.D.Sivakumar

M-LEARNING – FREE OF COST FROM GOOGLE PLAYSTORE RDS CPP - https://play.google.com/store/apps/details?id=com.wRDSCPP

2222

Page 23: Structure of C++ - R.D.Sivakumar

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 (QR Code Link –http://www.rdselearningcpp.site11.com/)

2323

Page 24: Structure of C++ - R.D.Sivakumar

SKYPE – SIVAKUMAR.DHANASEKARAN

2424

Page 25: Structure of C++ - R.D.Sivakumar

2525

Page 26: Structure of C++ - R.D.Sivakumar

2626

Mr.R.D.SIVAKUMAR,M.Sc.,M.Phil.,M.Tech.,Mr.R.D.SIVAKUMAR,M.Sc.,M.Phil.,M.Tech.,ASSISTANT PROFESSOR OF COMPUTER SCIENCE &ASSISTANT PROFESSOR OF COMPUTER SCIENCE &

ASSISTANT PROFESSOR AND HEAD, DEPARTMENT OF M.Com. (CA),ASSISTANT PROFESSOR AND HEAD, DEPARTMENT OF M.Com. (CA),AYYA NADAR JANAKI AMMAL COLLEGEAYYA 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. SIVAKASI – 626 124. (Website: www.rdsivakumar.webege.com www.rdsivakumar.blogspot.in)

Mobile Apps : Google Play Store – RDS Academic E-mail : [email protected] Mobile : 99440-42243

Page 27: Structure of C++ - R.D.Sivakumar

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 : 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&head_category=0&head_skill=0#gsc.tab=0&gsc.q=r.d.sivakumar&gsc.page=1

2727


Recommended