(First time posting just joined) Having trouble with book lesson.

Hey guys! First time posting so hopefully I am doing this alright. I recently purchased this book named "Sams Teach Yourself C++ in one hour a day" ISBN: 9780672335679. So I could learn C++ but I get this error when I try to run basic programs. I was wondering if this is a problem in the code or something isn't set up right with Microsoft visual.

1>MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
1>C:\Users\David's Laptop\Documents\Visual Studio 2013\Projects\Booklearning\Debug\Booklearning.exe : fatal error LNK1120: 1 unresolved externals.
Last edited on
Is there a way to put a picture in. I have a print screen of what I was doing. But idk if the forum has a place for me to upload and insert a picture.
Topic archived. No new replies allowed.