Open Source Your Knowledge, Become a Contributor

Technology knowledge has to be shared and made accessible for free. Join the movement.

Create Content

Structs - Part I

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;
Open Source Your Knowledge: become a Contributor and help others learn. Create New Content