Home > Back-end >  Write a line, please, help me look at figure error on how to change, thank you ~
Write a line, please, help me look at figure error on how to change, thank you ~

Time:10-02

 # include #include using namespace std; The class point {public: point (int xx=0, int yy=0) {x=xx; Y=yy. } point (point & amp; P); Int getx () {return x; } int gety () {return y; } private: int x, y; }; Point: : point (point & amp; P) {x=p.x; Y=p.y; Cout<& lt;" Copy constructor is called "& lt; 

CodePudding user response:

Sorry, figure out, error below
Unexpceted class line (
Unexpected token (s) of the preceding;
Missing) before constant
Missing; Before constant
unexpected end of file found

CodePudding user response:

This code is a bit messy

CodePudding user response:

After what appears to be lack of brackets? Or a semicolon? Or other problems,
Often encounter while back said what where you may be missing semicolon, brackets, after but the error of the actual situation of actual location may not like his error
  • Related