#include <vector> #include <Vector> #include <vector.h>(according to the spec, the first of those should work, and the compiler should know enough to use it to reference the real vector header file.)
#include <cstdio>instead of
#include <stdio.h>
cout << "hello world!";However, newer compilers require that you either use
std::cout << "hello world!";or declare what namespace to use with the "using namespace" command.