You are on page 1of 3

Programming

Course Length 5 Day s


TE2201_20120 104

C++ is the object oriented superset of !"# C$ This course pro%ides students &ith a co'prehensi%e study of the C++ (rogra''ing Language$ c)asses* The course stresses the object paradig' inc)uding inheritance* %irtua) functions* and te'p)ates in the de%e)op'ent of C++ progra's$ Lab e+ercises reinforce the )ectures$
Course Description: Who Should Attend: Prerequisites: to C Benefits of Attendance:
/pon co'p)etion of this course* students &i)) be ab)e to0

"tudents shou)d ha%e ta,en the "oft&are De%e)op'ent for !on-(rogra''ers and #ntroduction courses or ha%e e.ui%a)ent ,no&)edge$

nybody &ho has the need to &rite progra's in the C++ )anguage inc)uding progra''ers* engineers* scientists* or other technica) support personne) &i)) benefit fro' this course$

oriented soft&are engineering enhances the soft&are


de%e)op'ent process$ #dentify the 'ajor e)e'ents in an

E+p)ain ho& object-

"e)ect the proper c)ass protection 'echanis'$ De'onstrate the use of %irtua)
to i'p)e'ent po)y'orphis'$ 1rite progra's uti)i2ing the #34

Co'pare the object %s the procedura) approach to &riting /se correct soft&are$ object oriented ter'ino)ogy$
progra'$

functions

Define and use c)asses in a C++


Create and use abstract data types$ Deri%e c)asses using inheritance in C++$

objectoriented progra''ing )anguage$ #'p)e'ent the concepts of data


features of

c)asses in

and abstraction encapsu)ation in the #'p)e'ent operator o%er)oading$


/se inheritance in C++$ creation of abstract data types$

C++$ /nderstand so'e ad%anced

#'p)e'ent po)y'orphis' by using %irtua) functions in a progra'$

C++ inc)uding te'p)ates* e+ceptions* and 'u)tip)e inheritance$

Course Outline:
Perspective The "oft&are Crisis Design Techni.ues Large "oft&are "yste's 8oots of 4bject Techno)ogy 1hat #s 4bject-4riented (rogra''ing9 C++ and 4bject-4riented (rogra''ing 1hy C++9 6eatures of C++ (ros and Cons of C++ $he %anguage of O&'ect( Orientation 1hat #s an 4bject9 1hat #s a C)ass9 Encapsu)ation Data <iding The (ub)ic #nterface 8e)ationships 'ong C)asses #nheritance (o)y'orphis' 4bject-4riented Design C vs) C!! Co''ents !a'espaces "i'p)e 4utput "i'p)e #nput Definitions !ear to 6irst /se 6unction (rototypes The in)ine "pecifier const "tructure 7e'bers The 8eference Type 4%er)oading 6unction !a'es Defau)t (ara'eters The "cope 8eso)ution 4perator ggregates 4perators ne& and de)ete The boo) Data Type The string Data Type ,undamentals of Classes Data Types /ser Defined Data Types /sing the C)ass Concept Defining a C)ass pub)ic and pri%ate ccess Le%e)s The "cope 8eso)ution 4perator 00 /sing "copeC)ass 4bjects Li,e 5ui)t-in Types Constructors 7e'ber #nitia)i2ation Lists Destructors rray of 4bjects (ointers The this (ointer (assing 4bjects to 6unctions 8eturning 4bjects 6ro' 6unctions static C)ass 7e'bers Operator Overloading #ntroduction 8u)es for 4perator 4%er)oading 8ationa)e for 4perator 4%er)oading 4%er)oading 7e'ber 6unctions 4%er)oading !on-7e'ber 6unctions friend 6unctions The Copy Constructor The ssign'ent 4perator 4%er)oading = > 4%er)oading #ncre'ent and Decre'ent 4perators const 4bjects and 8eferences Composition of Classes 8e)ationships Co'position of C)asses The (oint C)ass The Line C)ass 7e'ber #nitia)i2ation Lists n pp)ication 1ith Co'position The Copy Constructor under operator@ under Co'position Inheritance #ntroduction (ub)ic 5ase C)asses The protected ccess Le%e) 7e'ber #nitia)i2ation Lists 1hat #snAt #nherited ssign'ents 5et&een 5ase and Deri%ed 4bjects Co'pi)e-Ti'e %s$ 8un-Ti'e 5inding %irtua) 6unctions (o)y'orphis' %irtua) Destructors (ure %irtua) 6unctions bstract 5ase#nheritance C)asses E+a'p)e n E+tended I O in C!! The iostrea' Library (redefined "trea's 4%er)oading operator:: 4%er)oading operator;; 7anipu)ators "trea' "tates 6or'atted #34 Dis, 6i)es 8eading and 1riting 4bjects Advanced $opics Te'p)ate 6unctions Te'p)ate C)asses 7u)tip)e #nheritance /ser-Defined Con%ersions Data "tructures n #terator C)ass E+ceptions Introduction to the Standard $emplate %i&rar* #ntroduction The "tandard Te'p)ate Library Design ?oa)s "TL Co'ponents #terators E+a'p)e0 %ector E+a'p)e0 )ist E+a'p)e0 set E+a'p)e0 'ap E+a'p)e0 find E+a'p)e0 'erge E+a'p)e0 accu'u)ate 6unction 4bjects daptors Appendi" A: Introduction 5ac,ground En%iron'enta) Considerations "a'p)e C (rogra' Bariab)es and Data Types rrays E+a'p)e of a (rogra' /sing an int Co'ponents of a C (rogra' C 4perators E+a'p)es of the 4perators Contro) "tructures 6unctions 6unction (rototypes "i'p)e #34 Appendi" B: #ore I O in C The printf 6unction The scanf 6unction The (reprocessor Conditiona) Co'pi)ation %oiding 7u)tip)e #nc)usion for the "a'e 6i)e Appendi" C: Aggregates in C Data Types 8e%isited ggregate Types rrays "tructures "tructures and 6unctions 5it 6ie)ds Enu'eration Types Appendi" D: Pointers in C 6unda'enta) Concepts (ointer 4perations /sing (ointers to )ter a 6unction rgu'ent /sing (ointers for rray Tra%ersa) (ointer rith'etic "ending an rray to a 6unction Co''and Line rgu'ents (ointers %s$ rrays "ending an ggregate to a 6unction "u''ary of the /ses of (ointers Appendi" +: Bi&liograph* 5ib)iography

http: ---)trainingetc)com ./0(120(2.15

Phone: ./0(120(3434 ,a":

You might also like