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