我有一个像这样的cpp文件:
#include Foo.h; Foo::Foo(int a, int b=0) { this->x = a; this->y = b; }
我如何在Foo.h中引用它?
c++ constructor header
c++ ×1
constructor ×1
header ×1