I'm trying to write a program to calculate the quadratic formula. When I run it, I get 2 error messages:
error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup fatal error LNK1120: 1 unresolved externals
this is after I changed the last line of code from ...:
<< danswer1, danswer2 >>
to
<< danswer1 << "," << danswer2 <<
Before I made that change I got 2 compiler errors: C2563 and C2568. On a friend's computer the program worked perfectly.
What can I do to fix this?