Advertisement
Josif_tepe

Untitled

Oct 13th, 2023
566
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.29 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5.  
  6. class Point {
  7. public:
  8.     int x;
  9.     int y;
  10.    
  11.     Point() {
  12.        // obicno empty constructor treba da izgleda tokmu vaka
  13.     }
  14.    
  15.    
  16. };
  17. int main() {
  18.    
  19.     Point p;
  20.     cout << p.x << " " << p.y << endl;
  21.     return 0;
  22. }
  23.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement