fork download
  1. #include <string>
  2. using namespace std;
  3.  
  4. struct wordType
  5. {
  6. string word = "";
  7. int count = 0;
  8. };
  9.  
  10. int main()
  11. {
  12. wordType object{"hello world"};
  13. }
Success #stdin #stdout 0s 3464KB
stdin
Standard input is empty
stdout
Standard output is empty