0_0_14505697_1695.cpp: In function 'int main()':
0_0_14505697_1695.cpp:58:8: error: no match for 'operator=' (operand types are 'point' and 'int')
psml=(0,0);
^
0_0_14505697_1695.cpp:58:8: note: candidates are:
0_0_14505697_1695.cpp:11:8: note: point& point::operator=(const point&)
struct point{
^
0_0_14505697_1695.cpp:11:8: note: no known conversion for argument 1 from 'int' to 'const point&'
0_0_14505697_1695.cpp:11:8: note: point& point::operator=(point&&)
0_0_14505697_1695.cpp:11:8: note: no known conversion for argument 1 from 'int' to 'point&&'
0_0_14505697_1695.cpp:62:3: error: expected ';' before '}' token
}
^
|