leave out that line. That was something that was needed when I took c++ a long time ago before the latest ANSI standard. It's quite possible that it isn't needed anymore. (My program compiles and runs it fine with and without the using namespace std; line.
When I took it, if you used namespace std, that kept you from having to type std::cout instead of just cout.
