#include #include using namespace std; /* 1. Podaj przykład i omów przeładowanie operatora ++ * przyrostkowego * przedrostkowego */ class wektor { public: int x; int y; int z; wektor(int a = 0, int b = 0, int c = 0) : x(a), y(b), z(c) {}; // konstruktor domniemany }; wektor operator++(wektor A){ wektor temp; temp.x = A.x+1; temp.y = A.y+1; temp.z = A.z+1; return temp; } wektor operator++(wektor A, int){ wektor temp; temp.x = A.x+1; temp.y = A.y+1; temp.z = A.z+1; return temp; } ostream& operator<<(ostream& ekran, wektor odc){ // przeladowany operator << ekran<<"x= "<