#include <string>#include <vector> using namespace std; struct Word_Entry{ string ord; unsigned cnt;}; //typedef vector<Word_Entry> Word_List; <-This is what it used to look likeusing Word_List = vector<Word_Entry>; int main(){}
Standard input is empty
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
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!