fork download
  1. #include <iostream>
  2. #include <string>
  3.  
  4. using namespace std;
  5.  
  6. class MyObject
  7. {
  8. public:
  9. wstring name;
  10. wstring address;
  11. wstring telephone;
  12. wstring name2;
  13. wstring address2;
  14. wstring telephone2;
  15. };
  16.  
  17. int main()
  18. {
  19. cout << sizeof(MyObject) << endl;
  20. return 0;
  21. }
Success #stdin #stdout 0.02s 2724KB
stdin
Standard input is empty
stdout
24