WinMain & main in Borland C++
Pleeeeease help!!!!! i''m new to windows programming. i know how to program in turbo c++ in DOS. but when i open a sample program in borland c++ it gives me an error message: UNRESOLVED EXTERNAL ''_main'' blah blah blah. i know it needs a "main" function but windows programs needs WinMain. Can you please help? AHHHHHHH. it''s very annoying.
Hi pal!
Mmmmh What compiler are you using?
Supossing you are using MSVC or Borland builder, you need to create a project first, and then add the sample program file to that project to be compiled.
Most DOS program sources compile OK in console application projects. However, there may be a few issues like clrscr() that won''t have any effect on the console window.
Hope I''ve been helpful, let me know if you have any other problem.
See ya.
SKeTch
Mmmmh What compiler are you using?
Supossing you are using MSVC or Borland builder, you need to create a project first, and then add the sample program file to that project to be compiled.
Most DOS program sources compile OK in console application projects. However, there may be a few issues like clrscr() that won''t have any effect on the console window.
Hope I''ve been helpful, let me know if you have any other problem.
See ya.
SKeTch
SKeTch
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement