Home > Back-end >  I C a novice, met a problem
I C a novice, met a problem

Time:10-05

#include
using namespace std;
Int main ()
{
Void the sort (int x, int y, int z);
Int x, y, z;
Cin> X> Y> Z;
Sort (x, y, z);
return 0;
}
Void the sort (int x, int y, int z)
{
Int temp.
If (x> {temp=x, y) X=y; Y=temp; }
If (zElse if (zThe else cout}




1> -- -- -- -- -- - has started to generate: project: modify the program, 2 configuration: Debug Win32 -- -- -- -- -- --
1> Generate the start time for 2014/8/9 16:12:57,
1> InitializeBuildStatus:
1> Is the "Debug \ modify the program 2. Unsuccessfulbuild" Touch mission,
1> ClCompile:
1> Modify the program 2. CPP
1> ManifestResourceCompile:
1> All output are the latest,
1> MSVCRTD. Lib (crtexew. Obj) : error LNK2019: cannot resolve the external symbol of _WinMain @ 16, the symbol referenced in the function ___tmainCRTStartup
1> Programs written in E: \ \ helloworld \ modify the program, Debug, modify the program 2 2. Exe: fatal error LNK1120: one cannot resolve the external command
1>
1> Generate failure,
1>
1> Elapsed time 00:00:01. 46
==========: zero success, failure, latest 0, 0 skip==========






Don't know what wrong for prawns teach, in addition, have come to guide the learning methods, I am new to C is learning C and C + + is Tan Haoqiang book, prepared to do it again, the above exercises warrior taught study methods, on behalf of the whole family thank you

CodePudding user response:

And you create the engineering properties of matter, lazy typing, just help you search a solution:

http://blog.csdn.net/playstudy/article/details/6661868

CodePudding user response:

You are creating a WIN32 project, should choose the console project

CodePudding user response:

In c + + builder, on competitors, easy to learn

CodePudding user response:

reference dataxdata reply: 3/f
in c + + builder, on competitors, facilitate learning


everywhere study BCB, ha ha

CodePudding user response:

Should establish a console application, the original poster need to see more of the basic knowledge of the compiler

CodePudding user response:

Programming in Chinese directory, personal feel is not a good habit
  • Related