To Create a new target for an existing project with Visual C++ 2.x, from the Project menu, choose Targets, and select New. Enter a Target Name, and choose Win32 Console Application as the type. To build the new target, move to the project dialog box, change the Target to your new Target name, and rebuild.
To add a project with Visual C++ 5.0 or 6.0, select Project, then Add to Project, and select New. Click on the Projects tab and select Win32 Console Application.
To create a new project in Visual C++ .NET, see the online help topic on "Creating Win32 Projects".
Sample Code to Demonstrate Behavior
/* Compile options needed: None
cout << "Hello " ;
ID članka: 131204 – Zadnji pregled: 8. dec. 2005 – Revizija: 1