c++ help (borland)
I use Borland Command Line Tools v5 (as it is free and brillant)
Language c++ only!!
I've complied this simple program (i learning c++);
#include <iostream.h>
main()
{
cout << "Hello";
return(0);
}
This is fine it works, but when i do not run it from the command line, the message appers, and within a second it disappears. Is there anycode which states how long it stays (in time) active till automatic closure?
Secondly I use a book they have complied this using MS Visual c/c++, it does this but displays a message "Press Anykey to End Development." You press any key and it closes. What is the code for this?
Thank you anyone who tells me in advance.
Thanks lackluster for helping me+ giving advice before (i've got the complier working, the readme instructions are wrong, but worked it out though). I've just changed the message.
Last edited by petercool; 07-23-2002 at 05:23 AM.
|