/* PISTEi2.CPP, INLINE -muoto 2 */ #include struct cPiste { int x,y; void tulosta() const { printf("(%d,%d)\n",x,y); } }; int main(void) { cPiste p={3,2}; p.tulosta(); p.x = 7; p.y = 1; p.tulosta(); return 0; }