I'm experiencing the different functions offered by the STL :
Code:# include <iostream> # include <vector> # include <algorithm> using namespace std; int main (void) ( vector <int *> test; int a = 0; while (a <10) ( test. push_back (& a); court <<test [a] <<endl; a + +; ) cout <<test. begin () <<endl; return 0; )
I compile and get a error message on the line:: No match for 'operator <<'
Does someone can tell me where is my mistake? what's missing? Thank you in advance for your answers.
Bookmarks