I have to put "using namespace std;" at the top, or else it tells me that "cin" is undeclared.
I have to put "using namespace std;" at the top, or else it tells me that "cin" is undeclared.
Windows XP Service Pack 2
Borland C++ Compiler Version 5.5
Actually, I should have typed it as; std::cin.get() My bad -
If that compiles and runs, I'd imagine you should look at your outputContents string.
Last edited by Oldman47; 04-14-2007 at 08:32 PM.