To help you out a bit more;
To use cout you need to have iostream included
#include <iostream>
Also, don't forget to use
system("pause");
because otherwise your console window will close immediatly and you won't be able to see your code running : - )