What's wrong with this line of code?
bar foo(vector ftw);
It produces
error C2061: syntax error: identifier 'vector'
try std::vector instead. Also, make sure you
#include <vector>
Probably you forgot to include vector and/or import std::vector into the namespace.
Make sure you have:
#include <vector>
Then add:
using std::vector;
or just use:
bar foo(std::vector<odp> ftw);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With