Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- using namespace std;
- class MINKLASS{
- public:
- string name;
- };
- int main()
- {
- MINKLASS mo; // mo = mitt-objekt
- mo.name = ("Sir Royale Cheese");
- cout << mo.name;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment