Advertisement
Josif_tepe

Untitled

Nov 3rd, 2023
738
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.27 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. class Point {
  6. private:
  7.     int x, y;
  8.    
  9. public:
  10.     Point() {
  11.        
  12.     }
  13.     Point(int x, int y) {
  14.         (*this).x = x;
  15.         (*this).y = y;
  16.     }
  17.    
  18. };
  19.  
  20. int main() {
  21.        
  22.    
  23.     return 0;
  24. }
  25.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement