F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_10856700_22633.cpp: In member function `Point Point::operator-(const Point&) const':
0_0_10856700_22633.cpp:15: error: subobject of type `Point' must be initialized by constructor, not by `{(((double)((const Point*)this)->Point::x) - ((double)B->Point::x)), (((double)((const Point*)this)->Point::y) - ((double)B->Point::y))}'
0_0_10856700_22633.cpp: In member function `Point Point::operator+(const Point&) const':
0_0_10856700_22633.cpp:19: error: subobject of type `Point' must be initialized by constructor, not by `{(((double)((const Point*)this)->Point::x) + ((double)B->Point::x)), (((double)((const Point*)this)->Point::y) + ((double)B->Point::y))}'
0_0_10856700_22633.cpp: In member function `Point Point::operator*(const double&) const':
0_0_10856700_22633.cpp:27: error: subobject of type `Point' must be initialized by constructor, not by `{(((double)((const Point*)this)->Point::x) * ((double)B)), (((double)((const Point*)this)->Point::y) * ((double)B))}'


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-19 22:18:19, Gzip enabled