A Closer Look at Classes

Chia sẻ: Chankinh1 Chankinh1 | Ngày: | Loại File: PDF | Số trang:55

lượt xem

A Closer Look at Classes

Mô tả tài liệu
  Download Vui lòng tải xuống để xem tài liệu đầy đủ

This module continues the discussion of the class begun in Module 8. It examines a number of class-related topics, including overloading constructors, passing objects to functions, and returning objects. It also describes a special type of constructor, called the copy constructor, which is used when a copy of an object is needed. Next, friend functions are described, followed by structures and unions, and the ‘this’ keyword. The module concludes with a discussion of operator overloading, one of C++’s most exciting features....

Chủ đề:

Nội dung Text: A Closer Look at Classes

Đồng bộ tài khoản