prog.cpp: In function 'int main()':
prog.cpp:8:2: error: 'vector' was not declared in this scope
vector <string> words;
^
prog.cpp:8:16: error: expected primary-expression before '>' token
vector <string> words;
^
prog.cpp:8:18: error: 'words' was not declared in this scope
vector <string> words;
^
prog.cpp:13:12: error: 'sort' was not declared in this scope
sort(words);
^