13 lines
190 B
Plaintext
13 lines
190 B
Plaintext
![]() |
[source,cpp]
|
||
|
----
|
||
|
struct Point { // In geometry, Point is a logical structure to group data
|
||
|
int x;
|
||
|
int y;
|
||
|
int z;
|
||
|
};
|
||
|
|
||
|
void setCoordinates(Point p1, Point p2) {
|
||
|
// ...
|
||
|
}
|
||
|
----
|