サンプル
struct
MyStruct {
public
:
void
function(){}
int
member;
};
ソリューション
構造体をクラスにします。
class
MyStruct {
public
:
void
function(){}
int
member;
};