Explore Connect Documentation
Snippets
1
2
3
4
5
6
7
8
9
10
11
12
13
struct Point {
  double x;
  double y;
};
int main() {
    Point p1; // instantiation of object p1
    Point p2; // instantiation of object p2
    p1.x = 3;
    p1.y = 0;
}
Press desired key combination and then press ENTER.