class MyPoint { float x, y; //members MyPoint(float xin, float yin){ //constructor x = xin; y = yin; } }