티스토리 뷰

Programming Language/C++

[계절학기 C++] Class

roaminpixel 2014. 7. 9. 17:43
728x90

7.1  Abstract Data Types (추상적데이터타입)


7.2  Object-Oriented Programming (객체지향프로그래밍)


7.3  Introduction to Classes

class Square

  {

   private:

 int side;

   public:

 void setSide(int s)

 { side = s; }

 int getSide()

 { return side; }

  };


7.4  Introduction to Objects

Square sq1, sq2;



7.5  Defining Member Functions


7.6  Constructors (생성자)


7.7  Destructors (소멸자)


7.8  Private Member Functions


7.9  Passing Objects to Functions

 pr7-09 참고


7.10  Object Composition

 pr7-11 참고


7.11  Separating Class Specification,  Implementation, and Client Code

(클래스 사양, 구현 및 클라이언트 코드를 분리)

 pr7-12 , 13참고


7.12  Input Validation Objects (입력 유효성 검사 개체)


7.13  Structures


 pr7-15 참고


7.15 Introduction to Object-Oriented Analysis and Design



7.16  Screen Control



728x90
반응형

'Programming Language > C++' 카테고리의 다른 글

[C++] GetLastError()  (0) 2014.08.15
[C++] pipe 통신  (0) 2014.08.15
[계절학기 C++] Array  (0) 2014.07.09
[강좌#3] Expressions and Interactivity  (0) 2014.06.30
[강좌2] 3일차  (0) 2014.06.27
반응형
250x250
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2025/07   »
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
글 보관함