class Mat
{내용};
typedef class Mat mat;
class B
{
private :
mat X;
mat Y;
}
int main ()
{
B Y;
return 0;
}
대충 이딴식으로 코딩했는데 컴파일은 잘되는데 실행이 안돼요
{내용};
typedef class Mat mat;
class B
{
private :
mat X;
mat Y;
}
int main ()
{
B Y;
return 0;
}
대충 이딴식으로 코딩했는데 컴파일은 잘되는데 실행이 안돼요
typedef 를 왜 하는거
안해도 되는데 하도 버그나서 혹시나 하는 마음에 해봣음