Guest User

Untitled

a guest
Dec 20th, 2012
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. #include <iostream>
  2. #include <string>
  3. using namespace std;
  4.  
  5. class MINKLASS{
  6. public:
  7. string name;
  8. };
  9.  
  10. int main()
  11. {
  12. MINKLASS mo; // mo = mitt-objekt
  13. mo.name = ("Sir Royale Cheese");
  14. cout << mo.name;
  15. return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment