Contact: aviboots(AT)netvision.net.il
39,851 questions
51,772 answers
573 users
#include <iostream> class Example { public: float x, y; Example() { x = 0.0f; y = 0.0f; } void Print() { std::cout << x << ", " << y << "\n"; } }; int main() { Example ex; ex.Print(); } /* run: 0, 0 */