oh yes, and to just use cout, add using namespace std; or else you are going to have to add it to all your cout statements Let me try again with a code example... this is the better way
using namespace std;
this is the annoying way (at least to me)
Just to clarify, you would use std::cout; because there's no point in importing the whole std namespace, especially if you're only going to be using cout. Optionally - to save typing "std::" at the start of each of your cout's - you could add "using std::cout;" under includes, it'll just "tell" your compiler you're only going to be using cout from the std namespace. It's no big deal, it'll just save you from importing the whole namespace, hence making your file bigger in size. Just remember to add the "using std::partofnamespace" for each function from the std namespace you're going to be using.