I can't understand the part of code “Point() : x(0), y(0) {},Point(int a, int b) : x(a), y(b) {}”..
Especially about the question, ":" is used for what here?
thanks in advance!
Definition for a point.
struct Point {
int x;
int y;
Point() : x(0), y(0) {}
Point(int a, int b) : x(a), y(b) {}
};