c++.dos.16-bits - Optlink Problem
I am new to Digital Mars, and so I set up a new project and this is the program #include <stdio.h> int main() { printf("\nHello World!\n"); } This compiles fine, but the build gives me a undefined symbol: _WinMain 16 and fails. What am I doing wrong? Thanks for the help. Mark W.
Mar 16 2003
Are you using the idde or the command line tools? "Mark W." <Mark_member pathlink.com> wrote in message news:b51v5r$58h$1 digitaldaemon.com...I am new to Digital Mars, and so I set up a new project and this is theprogram#include <stdio.h> int main() { printf("\nHello World!\n"); } This compiles fine, but the build gives me a undefined symbol: _WinMain 16 and fails. What am I doing wrong? Thanks for the help. Mark W.
Mar 17 2003
Here's the fix:
www.digitalmars.com/faq.html#winmain
"Mark W." <Mark_member pathlink.com> wrote in message
news:b51v5r$58h$1 digitaldaemon.com...
I am new to Digital Mars, and so I set up a new project and this is the
program
#include <stdio.h>
int main()
{
printf("\nHello World!\n");
}
This compiles fine, but the build gives me a undefined symbol: _WinMain 16
and fails. What am I doing wrong?
Thanks for the help.
Mark W.
Mar 17 2003









"Walter" <walter digitalmars.com> 