I am really having some problems yet, I keep getting this error:
Error 1 error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup MSVCRTD.lib
Error 2 fatal error LNK1120: 1 unresolved externals C:\Users\Ken\Documents\Visual Studio 2005\Projects\MC_PRG411_WK2_2\Debug\MC_PRG411_WK2_2.exe 1
I have searched all over the place and can't seem to get an answer that works for me. I think that my program will work if I can get this taken care of. I have been working on this for several days now.
My class is called:
mortgageCal
then under the end of my class file I have;
mortgageCal::mortgageCal()
{
intYear = 0;
term = 0;
loanAmt = 0;
paymentAmt = 0;
}
Now I was under the impression that the above statement would link, or what ever you call it, the class file with the rest of the program but I guess that it doesn't. All of these items are in the class file as well.
Can anyone please give me help on how to solve this please?
Thanks
** Edit **

New Topic/Question
Reply




MultiQuote





|