undefined reference to WinMain@16
i use dev c++ by the way thanks for any help.
joshuabraham
0
Newbie Poster
Recommended Answers
Jump to PostCan you post the code that is giving this error ?
Jump to PostIt means you created a windows project (which expect to start at WinMain), but you've written a console program which begins at main().
Easiest thing is to create a new console project and copy your program to it.
All 5 Replies
William Hemsworth
1,339
Posting Virtuoso
Salem
5,138
Posting Sage
joshuabraham
0
Newbie Poster
VernonDozier
2,218
Posting Expert
Featured Poster
William Hemsworth
1,339
Posting Virtuoso
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.