This really confuses me I can't under stand what it is or why I'm getting this error. I found other people getting similar errors but couldn't understand why. So if anyone could explain it that would be helpful. Thanks,
if you're getting an undefined reference to WinMain@16, you probably selected the wrong type of project. You want a console project, not a Windows project.
BTW, main is mispselled on 11. This could also cause linker problems because the linker can't find your main function.
Thanks for the help I seem to have not noticed the slight misspelling. Sorry for being so forgetful about my code. I'm happy to say it's working wonderfully and your support is very helpful.