Non-understandable error message

I'm a novice programmer in C++, and I'm trying to create a small project in VC++ 6.0.
I'm getting a strange error message and I can't figure out what to do. The message I get is:
--------------------Configuration: tifzoret - Win32 Debug--------------------
LIBCD.lib(wwincrt0.obj) : error LNK2001: unresolved external symbol _wWinMain@16
Debug/tifzoret.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

What should I do now?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

This occurs because it thinks you are trying to write a windows GUI program rather than a standard C++ program (also called a console program).  A standard (console) program must have a main() function, as your's probably does, right?  But a windows GUI program has a WindMain() function instead of main().  So it is complaining that it can't find this function.  (sort of like what would happen if you forgot to write main().)


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
The solution is to create a new project of the right type.

Chose the "File" menu
"New" item
From the dialog that appears, select the "projects" tab
then chose the "Win32 Console Application"
Then fill in the project name and location.

You can copy the source code from the old project to the new one and then it shoudl compile okay.

let me know if you have any questions.

memilaviAuthor Commented:
Thanks! It worked great!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.