Step5. class 작성
클래스란 동일한 종류의 객체를 표준화 하여 설계도 처럼 만든 것으로변수와 함수로 구성되어 있다. -- Person.h --#ifndef __PERSON_H__#define __PERSON_H__class Person{private:char *name;int age;public:void init(char *n, int a);void printPersonInfo();}; #endif -- Person.cpp --#include #include #include "Person.h"using namespace std; void Person::init(char *n, int a){name = new char[strlen(n)+1];strcpy(name,n); age=a;} void Person::printPerso..