Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <cstdlib>
- #include <iostream>
- using namespace std;
- class instrument
- {
- public: virtual void gra()
- {
- cout<<"gram /n";
- };
- };
- class gitara : public instrument{
- void gra(){
- cout << "gram na gitarze\n""
- }
- };
- int main(int argc, char *argv[])
- {
- system("PAUSE");
- return EXIT_SUCCESS;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement