C++ Programming  (2011 Spring)

Goals of this course

(1) Understand the fundamental principles of C++ language, can do simple coding Data type, Controls, functions, array, pointer, …
(2) Understand the idea of object-oriented software design, can do simple design Class, object, Inheritance, …
(3) Know about the background of software programming and software engineering

Weeks (9-12, 14-18) & Classrooms

(1) Each Monday in Week 9-12, 14-18:
   Lecture hour 5-6, Classroom C12-N302: Finance1001-1002, Accounting1001-1002
   Lecture hour 7-8, Classroom C12-N304: Medicine1001-1003
(2) Each Wednesday in Week 9-12, 14-18:
   Lecture hour 5-6, Classroom C12-N112: Medicine1001-1003
   Lecture hour 7-8, Classroom C12-N302: Finance1001-1002, Accounting1001-1002
(3) [Examination] Week 20, Saturday Afternoon 14:30 - 17:00, 9th July :
   Classroom C12-N101: Medicine1001
   Classroom C12-N102: Medicine1002
   Classroom C12-N103: Medicine1003
   Classroom C12-N104: Finance 1001
   Classroom C12-N109: Finance 1002
   Classroom C12-N110: Accounting1001
   Classroom C12-N111: Accounting1002

[Notice1] The lecture on 2nd May is cancelled due to the national holiday.
[Notice2] The lecture on 6nd June is cancelled due to the national holiday.

Slides

No.

Content

Date

Lecture in classroom

1

Introduction to the course
Textbook Chapter01  Textbook Code 

2011-04-18

  Slides  Comments 

2

Introduction to C++ Programming
Textbook Chapter02  Textbook Code 

2011-04-20

  Slides  Comments 
  More Code: basic of function / compare  

3

2011-04-25

4

Introduction to Class and Object
Textbook Chapter03  Textbook Code

2011-04-27

  Slides  Comments
  More Code: seperate files for Class 

5

2011-05-04

6

Control Statements (1)
Textbook Chapter04  Textbook Code 

2011-05-09

  Slides Part(1): data type & expression
  Slides Part(2): control statement
  Slides Part(3): structured program
  Comments
  More_Code: expression
  More_Code: if else / while / for 

7

2011-05-11

8

Control Statements (2)
Textbook Chapter05  Textbook Code 

2011-05-23

9

2011-05-25

10

Function
Textbook Chapter06  Textbook Code 

2011-05-30

  Slides Part(1-2): use function
  Slides Part(3-4): storage / call / advanced
  Comments
  More_Code: storage / scope / template 

11

2011-06-01

12

Array
Textbook Chapter07  Textbook Code 

2011-06-08

  Slides Part(1-2): basic array
  Slides Part(3-4): using array
  Comments  More Code: search / sort 

13

2011-06-13

14

Pointer
Textbook Chapter08  Textbook Code 

2011-06-15

  Slides Part(1): basic pointer
  Slides Part(2): using pointer
  Comments  More Code: address / array 

15

2011-06-20

16

Advanced Class and Object
Chpt09  Chpt10  Chpt11  Chpt12  Chpt13 

2011-06-22

  Slides 
  Comments
  More Code

Textbook

[1] H.M.Deitel, P.J.Deitel, Small C++ How to program, 5th ,Pearson 2005
[2] H.M.Deitel, P.J.Deitel, C++ How to program  [digital version download], 5th ,Pearson 2005
[3] 谭浩强,《C++程序设计》,清华教育出版社,2004.6
[4] 郑莉 等,《C++ 语言程序设计》,清华大学出版社,2005.7
[5] 钱能 等,《C++ 程序设计教程》(第2版),清华大学出版社,2005.9

Resources

(1) Textbook[1] source code [download]
(2) Reference book for standard C/C++ functions [download]
(3) Development tool: Virsual C++ 6.0 for teaching and study [download]
(4) Development tool: Virsual C++ Assistant [download]
(5) Development tool: Code Blocks [download] and in Chinese language patch [download]

Feedback

If you have questions, welcome write e-mail to liuwei@hust.edu.cn.
Due to the large number of spam e-mails, please add ``[C++][Question]'' as the prefix in the title of your e-mail.
That will help me to identify your e-mails, thank you.

<Last Updated: 2011-06-22>