#ifndef Member
#define Member
#include<iostream>
#include<string>
using namespace std;
class Member {
private:
std::string name;
std::string id;
std::string password;
int age;
public:
Member(string name,string id, string password, int age) {}
};
#endif
여기서 멤버함수 두번째 꺼 string id에서
';'가 필요합니다
라고 에러가나는데 이유가 뭐죠..
http://ideone.com/rnEv85
니가 다른 뭔가를 잘못했겠지
std::string으로 해주지 않아서 그런거 아님?