ECET 344 Object Oriented Programming with C++

carenextSoftware and s/w Development

Nov 18, 2013 (3 years and 9 months ago)

109 views

ECET 344 Object Oriented Programming with C++

Course Outlines

Fall07


Text: Deitel & Deitel (2008).
C++ how to program
, NJ: Prentice Hall.

ISBN: 0
-
13
-
615250
-
3



Week

Topics

Reading

Assignments and
Hw

1

Introduction: data variables, data types, variables
a
nd memory concepts.
Arithmetic operations
symbols in C++

Chapter 2 PP.
43
-

75


2

C/C++ control structure, input/output:
If, IF
-
ELS,
and IF
-
ELSE
-
IF C++ constructs. Nested control.
Arithmetic and logical operations.

Chapter 4, PP.
132


ㄶ1

La戱b


exe牣i
獥‱

䡗㨠獥汦⁲e癩敷
煵q獴s潮o

3

Re灥瑩瑩潮㨠L潯灳o⁷桩汥Ⱐ摯
-
睨楬攬⁡湤⁦n爮r獴敤
牥灥瑩瑩潮⸠䵯牥渠汯g楣a氠潰敲a瑩潮猠

C桡灴敲‵Ⱐ P⸠
ㄹ1

La戱bexe牣楳攠㈠&
3

䡗㨠獥汦⁲e癩敷
煵q獴s潮o
.

4

C污獳l猬扪ec瑳Ⱐ佢tec琠潲楥湴敤⁰nogra浭楮i

C桡灴敲″Ⱐ灰⸠
㠱8
-

ㄳ1

La戲bexe牣楳攠ㄮ

䡗㨠獥汦⁲e癩敷
煵q獴s潮献

5

F畮u瑩潮猠o渠摥瑡楬猬t灲潴潴y灩pgⰠ摥晩湩fgⰠ,a汬楮本i
Ⱐ,a汬⁢y⁶a汵攬⁡湤nca汬⁢y re晥牥湣eⰠ晵,c瑩潮猠
ca汬楮i瑨 爠r畮u瑩潮献⁓c潰o⁡湤⁶a物r扬攠acce獳s

C桡灴敲‶Ⱐ灰⸠
㈴㐠
-
㌲3



La戲㨠exe牣楳攠㈺i

䡗㨠獥汦⁲e癩敷
煵q獴s潮献o

6

䅲牡y猠a湤⁖nc瑯牳㨠慲ray 摥c污la瑩潮Ⱐ畳o湧
a牲ay猬⁓ea牣桩hg a牲ays

C桡灴敲‷
Ⱐ灰⸠
㌳㌠
-
㌶3

La戳㨠exe牣楳攠i

䡗㨠獥汦⁲e癩敷
exe牣楳敳i

7

Multidimensional arrays. Passing arrays to
functions.

Chapter 7. PP
369
-
407

Lab3
: exercise 2

8

Midterm



9

Pointers: declarations, pointer operators, passing
pointers to member functions, sizeof operator, case
study: card shuffling class, the operator new for
memory allocation, delete for de
-
allocation
, array
of pointers.

Chapter 8,

pp.
408
-


Lab4

HW: self review
questions

10

Continue card shuffling


ca獥⁳瑵 y

C桡灴敲‸Ⱐ灰⸠
㐳㤠
-

㐸㘠

La戴

Se汦⁲e癩敷
煵q獴s潮

11

Classes in depth

Chapter 9, pp.
487
-

577

Lab5

12

Object Oriented Programming: Inheritance: type of
inheritance, co
nstructor, base class, and derived
class, and destructor in derived classes,

Chapter 12,
pp. 640
-

692

HW: 12.6 page 691

13

File processing: sequential files, random access
files

Chapter 17,
pp. 849
-

892

Lab/HW, provided
by instructor

14

Standard Templ
ate Library

Chapter 22,
pp. 1057
-

1145

Lab/HW, provided
by instructor