fork download
  1. #include <iostream>
  2. #include <string>
  3. using namespace std;
  4.  
  5. class Employee
  6. {
  7. public:
  8. string name;
  9. int id;
  10. };
  11.  
  12. class Company
  13. {
  14. public:
  15. string companyName;
  16. Employee employees[20];
  17. };
  18.  
  19. int main()
  20. {
  21. Company c;
  22. return 0;
  23. }
Success #stdin #stdout 0.01s 5552KB
stdin
Standard input is empty
stdout
Standard output is empty