fork(1) download
  1. #include <string>
  2. #include <vector>
  3.  
  4. using namespace std;
  5.  
  6. struct Word_Entry
  7. {
  8. string ord;
  9. unsigned cnt;
  10. };
  11.  
  12. //typedef vector<Word_Entry> Word_List; <-This is what it used to look like
  13. using Word_List = vector<Word_Entry>;
  14.  
  15.  
  16. int main()
  17. {
  18. }
  19.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:13:7: error: expected nested-name-specifier before ‘Word_List’
prog.cpp:13:7: error: ‘Word_List’ has not been declared
prog.cpp:13:17: error: expected ‘;’ before ‘=’ token
prog.cpp:13:17: error: expected unqualified-id before ‘=’ token
stdout
Standard output is empty