C++ Programming

Spring 2008

Jinn-Liang Liu

高雄大學應數系

 

5. Project 4 (Due 5/27)
4. Project 3 (Due 4/29)
3. Project 2 (Due 4/8)
2. Project 1 (Due 3/18)
1. Exam 1 (3/25)   Exam 2 (5/6)   Exam 3 (6/10)  Grade: Exams 40%, Projects 60%.

To upload/update your homework:( No grading!! After the next week of deadline.)

Please connect to ftp://140.127.216.160 and login with your ID which is your team number ( for example 'team01' is the ID of team 1st ), and the default password is '123456'. To change the password please contact with TAs. (If it doesn't work to login through IE, please try folder.)

Please name your project as 'pj_X' as the Xth project. For example, ' pj_1' is the name of your first project.

The latest day for homework is one week after deadline. After deadline, you will lose ten points.

Grading Evaluation of the project:

Programing style and Readability

A

No logical error

B

No syntax error

C

Before deadline

D

Teaching Assistants for CL will be available in the lab we are using for the week as follows:

Teaching Assistant Hours:

Who

Where

When

Sydney, Lin

Lab 413

Tuesday,5-6pm

Soar, Tseng

Lab 413

Tuesday,6:30-7:30pm

Mars, Tsai

Lab 452

Tuesday,7:30-8:30pm

On-line tutorial:   Juan Soulie, C++ Language Tutorial, 2007.

 

     1.     Download the free C++ compiler:
    
Microsoft Visual C++ 9.0 Express Edition   

      How to Create a First Project (ppt file)

2.     Read, copy, compile, and run the examples in the tutorial.

3.     Read the tutorial with, for example: TheFreeDictionary.

4.     Listen and repeat loudly with TheFreeDictionary.

5.     Read! Read! Read! Write! Write! Write! Run! Run! Run!

6.     Create your own programs.

 

Now let’s do it!

C++ Language Tutorial

Published by Juan Soulie Apr 24, 2007  

 

 

0.    C++ Language Tutorial

  

     I. Basics of C++

1.       Structure of a Program

2.       Variables. Data Types.

3.       Constants

4.       Operators

5.       Basic Input/Output

II. Control Structures

6.       Control Structures

7.       Functions (I)

8.       Functions (II)

III. Compound Data Types

9.       Arrays

10.  Character Sequences

11.  Pointers

12.  Dynamic Memory

13.  Data Structures

14.  Other Data Types

IV. Object Oriented Programming

15.  Classes (I)

16.  Classes (II)

17.  Friendship and Inheritance

18.  Polymorphism

19.  Templates

V. Advanced Concepts

20.  Namespaces

21.  Exceptions

22.  Type Casting

23.  Preprocessor Directives

VI.   C++ Standard Library

24.  Input/Output with Files

Appendixes

25.  Ascii Codes

26.  Boolean Operations

27.  Numerical Bases