i reccomend using Dev-C++ over Borland for beginning programming, iots free and available at www.bloodshed.net but anyways if that did run it would run and close instantly try this when you fix your prob:
Code:
#include <iostream>
using namespace std;
// the above makes it so you dont have to do std:: befor cout cin endl etc..
int Main()
{
cout << "I Work" << endl;
cin.get(); // waits for the user to press enter before continuing
return 0; // exit the program, because Main is a int it must return a integer, by returnng
// 0 it ends the function, in essance 0 on success anything else on fail
}
i hope it helps
The Noob
PS: this should be in the C++ Programming Forum