poprawki w kodzie xdddxdd

This commit is contained in:
2026-05-05 19:22:09 +02:00
parent 0d5d9dc969
commit a3bd6af48a
3 changed files with 44 additions and 19 deletions

View File

@@ -11,7 +11,7 @@ public:
class Pochodna : public Bazowa {
public:
Pochodna(int val) : Bazowa(val) {}
void wypisz() { std::cout << x << std::endl; }
void wypisz() const { std::cout << x << std::endl; }
};
int main() {