Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "he.h";
- #include "iostream";
- using namespace std;
- int main()
- {
- tan tan;
- jesus jesus;
- cin >> tan.type;
- cout << tan.type;
- return 0;
- }
- -------------------------------------------
- - he.h -
- #pragma once
- class tan
- {
- public:
- int type;
- };
- class jesus:tan
- {
- public:
- if (tan::type == 0)
- {
- int holy;
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment