c语言compile没错但build错了,是哪里的问题,怎么改?
c语言compile没错但build错了,是哪里的问题,怎么改?
日期:2021-07-07 22:21:28 人气:1
class shop
{
public:
shop(double n,double q,double p):num(n),quantity(q),price(p){}
static double average(shop &a);
static void display(shop &b);
private:
double num;
double quantity;
double price;
{
public:
shop(double n,double q,double p):num(n),quantity(q),price(p){}
static double average(shop &a);
static void display(shop &b);
private:
double num;
double quantity;
double price;