Home - Courses - P - Content

Programming with C++

ProgramTeacherCreditDuration

Computer Science

Xiang Ying

3

48

Course Name: Programming with C++

Course Code: S2293134

Semester: 2

Credit: 3

Program: Computer Science

Course Module: Specialized Compulsory

Responsible: Xiang Ying

E-mail: wjr@tju.edu.cn

Department:School of Computer Science & Technology, Tianjin University

Time Allocation(1 credit hour = 45 minutes)

Exercise

Lecture

Lab-study

Project

Internship

(days)

Personal

Work

8

20

20

20

Course Description

The course is a required course designed for Engineering Master of Computer Science in TIEI. It’s an access course for advanced language programming, and is also a foundation course for other information related courses. This course enables students to acquire the basic concepts and methods of programming design, the basic grammars and programming methods of C++, learn to use integrated development environment, acquire the debugging method by studying the basic grammatical structures, basic data types, array, pointer of C++, and three qualities of object-oriented.

Prerequisite

C Language Programming: the ability of write programs independently

Course Objectives

This course discusses the programming language of C++ to help students understand the program better and enhance their professional skills, so as to improve the comprehensive ability to solve problems. After taking this course, students should be able to:

  • Master the basic grammatical structures of C++,

  • Master the basic methods of object-oriented programming,

  • Understand the basic idea of object-oriented programming,and to

  • Develop the thinking to solve the problem with programs, intensify the students programming skills.

Course Syllabus

  • The overview of C++ language: the history of C++, and the concept of object-oriented programming,

  • Basic data types and input/output: basic data types, the definition of the variable,

  • The expression and statement: expression, arithmetic, and assignment,

  • Function: the description of function, the global variable and the local variable,

  • Array: the definition of array, and initialize array,

  • Pointer: the concept and arithmetic of pointer,

  • Reference: the concept and operation of reference,

  • Structure: structure and pointer, structure and array,

  • Class: define member function, call member function,

  • Constructor: the use of constructor, constructor with parameters, and the default constructor,

  • The object-oriented programming: the implementation of the object-oriented method

  • Heap and copy constructor: the concept of heap, the default copy constructor,

  • Static member and friend function: the concept of static member, the use of static member, the concept of friend function, and the use of friend function, and to

  • Inheritance and polymorphism: the concept and working style of inheritance, polymorphism, and the working style of polymorphism.

Textbooks & References

  • Bjarne Stroustrup.The C++ Programming Language(Special ed). Addison Wesley, 2002.

  • Stanley B.Lippman, JoseeLajoie, Barbara E. Moo.C++ Primer. Addison Wesley, 2010.

  • Bruce Eckel.Thinking in C++. Prentice Hall, 2000.

  • Andrew Koenig, Barbara E. Moo.Accelerated C++. Addison Wesley, 2000.

Capability Tasks

CT1: Toknow and understand basic science, have analytical and synthesis of knowledge ability.

CT2: To be able to use related professional knowledge in the field of science and technology, to understand the basic concepts of C++ and learn to use it in programs.

CT3: To master scientific methods, the execution process of a program, and to be able to debug fast and accurately.

CS1: To master the basic theory of C++, and its development status and trends.

CS2: To master the core of the C++ and relevant engineering technology,tohave the preliminary ability of system development with the core knowledge and engineering technology.

CS3:To have the ability to analyze and design a system or software, and be able to propose a solution to a practical background.

Achievements

  • To master C++ language the basic concepts and methods of the basic data structure, pointers, arrays, structures, files and so on. -Level: M

  • To master the methods of object-oriented programming and the concepts of classes, objects, overloading, inheritance and polymorphism. -Level: M

  • To master the realization of object-oriented programming with C++ language. -Level: M

  • To master the methods of C++ language function calls. -Level: M

Students: Computer science,Year 1