WGPFD, program 4.2, and visual C++ 6, oh my!
In WGPFD, i am having trouble getting program 4_2 to link properly. Everything seemed to compile fine. I am using Visual C++ 6. I get
error LNK2001: unresolved external symbol _main
fatal error LNK1120: 1 unresolved externals
as errors when i try to link. can someone help me here?
BTW, please dont flame me. i just started using VC++ 6 2-3 days ago.
- Moe -
aw, come on, there has to be somebody that knows the answer, or who can at least help me.
- Moe -
- Moe -
Well, by the error message, it looks like it is looking for a main() function. If you chose to create a win32 app, then it should not look for that.
Straightedge For Life
Straightedge For Life
Instead of letting VC++ create a default project, create one yourself.
File->New
Project Tab
Win32 Application
That should do it.
Mike
File->New
Project Tab
Win32 Application
That should do it.
Mike
"Unintentional death of one civilian by the US is a tragedy; intentional slaughter of a million by Saddam - a statistic." - Unknown
Sounds like you''re creating a Win32 Console App, that''s why it''s looking for a main function. Follow Vetinari''s advice and you should be okay.
--- Official D Blog | Learning D | The One With D | D Bits
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement