나는이 C++ 클래스가 있습니다 클래스 다이어그램을 생성하는 도구는 무엇입니까?
class sales{
private:
float dollar[3];
public:
void getData(float f1,float f2, float f3){
dollar[0]=f1;// sales of first month
dollar[1]=f2;// sales of second month
dollar[2]=f3;// sales of third month
}
void putData(){
int count=0;
while(count!=3){
cout<<dollar[count]<<"\t$"<<endl;
count++;
}
}
};
class publication:public sales{
private:
string PubName;
int PubYear;
public:
void SetName(string s){
PubName=s;
}
string GetName(){
return PubName;
}
void SetYear(int y){
PubYear=y;
}
int GetYear(){
return PubYear;
}
};
class book:public publication{
private:
string Author;
public:
void SetAuthor(string a){
Author=a;
}
string GetAuthor(){
return Author;
}
};
class tape:public publication{
private:
string singer;
public:
void SetSinger(string s){
singer=s;
}
string GetSinger(){
return singer;
}
};
내가 자동으로 클래스 다이어그램을 생성하고 싶은, 그렇게 할 수있는 유용한 도구가 온라인이
를?
doxygen에 대한 좋은 호소 - 그 값싼 나의 대답 :-) –