My first program doesn't work

I created my 1st C++ program using CodeGearâ„¢ RAD Studio 2009.

1
2
3
4
#include "std_lib_facilities.h"
 cout << "Hello, world!\n";
system("pause >> null");
    return 0;


When I try to compile this, I receive error. I can't understand and solve what is wrong.

1
2
3
4
5
6
7
8
9
10
11
12
Build started 25/06/2012 20:45:23.
___________________________________ _______________
Project "D:\ABC\NV\000_pr\delphi\Projects\h w2\hw2.csproj" (Build target(s)):
Target _CheckForInvalidConfigurationAndPla tform:
C:\Windows\Microsoft.NET\Framework\ v2.0.50727\Microsoft.Common.targets (490,9): error : The OutputPath property is not set for this project. Please check to make sure that you have specified a valid Configuration/Platform combination. Configuration='' Platform='AnyCPU'
Done building target "_CheckForInvalidConfigurationAndPl atform" in project "hw2.csproj" -- FAILED.
Done building project "hw2.csproj" -- FAILED.
Build FAILED.
C:\Windows\Microsoft.NET\Framework\ v2.0.50727\Microsoft.Common.targets (490,9): error : The OutputPath property is not set for this project. Please check to make sure that you have specified a valid Configuration/Platform combination. Configuration='' Platform='AnyCPU'
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.04


Delphi projects work nicely in CodeGearâ„¢ RAD Studio.

Your first program shall have the main function.
Topic archived. No new replies allowed.