C++ Class
- Class 구조체가 확장된 개념으로 객체를 만들기 위한 설계도 추상화 : class 설계 하는 과정객체 : class를 이용해 만들어낸 실체 ┏ 구조체 - 구조체 변수┗ class - 객체 class 선언class class명{자료형 변수명;함수 (){}}; 객체 생성class명 객체명 ;#include #include class Member{public:char name[10], tel[15];int age, fee;void SetData(char* _name, int _age, char * _tel, int _fee){strcpy(name,_name);age = _age;strcpy(tel,_tel);fee = _fee;}};void main(void){Member mb;mb.SetData("홍길..