Please help newbie with Borland Compiler and simple code!!
Ok I downloaded the borland compiler and now I open DOS Prompt and I type
then I type in
When I do this I get it to compile but I get 2 errors...which I dont understand because its the code straight from this site.
Why doesn't this compile?
cout<<"HEY, you, I'm alive! Oh, and Hello World!";
Also, how do I make a .cpp file? I tried saving it in notepad and it didn't work? I had to edit one of the examples and change the code to the one i posted above.
Is there something that I am missing that is making this not compile? All I want to do is learn how to do basic stuff?
And also...when it does compile where does it go? Do I have to specify a path, or does it go into the Bin file in the Borland directory?