- or download this
$ cat a.cpp
#include <stdio.h>
...
$ g++ -o a a.cpp && a
5,6
- or download this
int i = 5;
- or download this
int i(5);
- or download this
Point(int a_x, int a_y) : x(a_x), y(a_y) {}
- or download this
Point(int a_x, int a_y) { x = a_x; y = a_y; }