undefined reference to WinMain@16
i use dev c++ by the way thanks for any help.
joshuabraham 0 Newbie Poster
Recommended Answers
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.
Jump to PostSorry for taking so long to reply I have not been able to get online.This is the code
#include "iostream.h" #include <stdarg.h> int Menu (char *option1 ...) { va_list args; // argument list char* option = option1; int count = 0, choice = 0; va_start(args, option1); // initialize …
All 5 Replies
William Hemsworth 1,339 Posting Virtuoso
Salem 5,265 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.