Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

problem

2 views
Skip to first unread message

nobelb...@gmail.com

unread,
Jan 19, 2009, 5:46:01 AM1/19/09
to
#include<iostream.h>
int main()
{
cout<<"C++ is power pramming.";
return 0;
}

--------------------Configuration: first - Win32
Debug--------------------
Linking...
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol
_WinMain@16
Debug/first.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

first.exe - 2 error(s), 0 warning(s)


what' wrong?

Micheal Yang

unread,
Mar 24, 2009, 7:16:24 AM3/24/09
to
vc提示找不到winmain函数入口.因此
你可能选错了SUBSYSTEM.可以使用alt+f7选用console的subsystem即可.

<nobelb...@gmail.com> wrote in message
news:c8bc211f-27a8-48ab...@40g2000prx.googlegroups.com...

0 new messages