Just a quick check. Make sure you do a
#include
and
using namespace std;
symbols like cout and endl are in the std namespace, so if you don't
have the above statement, you have to say something like
std::cout << "hello world" << std::endl;
-Ken
On Mon, 19 Jan 2004 09:50:02 -0500
Bill Mor
> Hugh Krogh-Freeman wrote:
> > Hello everyone. I just installed Free BSD 5.1 on my computer. I know C++ and
> > C, but I am not able to get C++ to compile yet because it doesn't recognize
> > cout and endl (I wrote a simple "hello world" program). I assume it's because
> > I am not including th
[redirected to questions@, which is more appropriate for this kind of question]
Hugh Krogh-Freeman wrote:
Hello everyone. I just installed Free BSD 5.1 on my computer. I know C++ and
> C, but I am not able to get C++ to compile yet because it doesn't recognize
> cout and endl (I wrote a simple "he