"Salt_Peter" <pj*****@yahoo.comwrote in message
news:11**********************@h54g2000cwb.googlegr oups.com...
>
B. Williams wrote:
>Will someone tell me know how to create an executable file from a .cpp
file? I am using Microsoft Visual C++ 2005 Windows XP SP2.
Thanks
Please don't Post using hyper text.
The following is an executable if you compile it.
// test.cpp
#include <iostream>
int main()
{
std::cout << "hello!\n";
}
In fact, all you need is
int main()
{
}
I would like to apologize for the html post. Thans for your assistance.
After I compiled it, I found the .exe in the debug folder.