prog.cpp:9:30: error: ‘vector’ is not a member of ‘std’
std::string who_is_next(std::vector<std::string> v, long n) {
^~~~~~
prog.cpp:9:30: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
prog.cpp:2:1:
+#include <vector>
using namespace std;
prog.cpp:9:30:
std::string who_is_next(std::vector<std::string> v, long n) {
^~~~~~
prog.cpp:9:48: error: expected primary-expression before ‘>’ token
std::string who_is_next(std::vector<std::string> v, long n) {
^
prog.cpp:9:50: error: ‘v’ was not declared in this scope
std::string who_is_next(std::vector<std::string> v, long n) {
^
prog.cpp:9:53: error: expected primary-expression before ‘long’
std::string who_is_next(std::vector<std::string> v, long n) {
^~~~
prog.cpp:9:61: error: expected ‘,’ or ‘;’ before ‘{’ token
std::string who_is_next(std::vector<std::string> v, long n) {
^