SOS下午就考试,谁能帮我改错
class Sample {
public:
Sample(int a=0, float b=0);
Sample(Sample & p) { sa = p.sa;
sf=Sample::sf;
p=p.p; }
~Sample();
void show();
private:
int sa;
static float sf;
char *p;
};
error C2679: binary '=' : no operator defined which takes a right-hand operand of type 'int *' (or there is no acceptable conversion)
Error executing cl.exe.