What am i doing wrong? this simple code causes a Compile Error:
Code: Select all
#include <vector>
int main(){
vector<int>* vc = new vector<int>();
return vc->at(0);
}
Code: Select all
no matching function for call to `vector<int,allocator<int> >::at (int)
Help me plz!