I was compiling some code and get the following compiler errors:
error C3861: '_stprintf_s': identifier not found
error C3861: '_tcscat_s': identifier not found
I tried to find some info about the _stprintf_s and added the header
This got rid of the Compiler Errors but I now have one linker error:
error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
Is there a .lib file or something I need to add to the project? Or am I missing something else?
Thanks for the reply...
I solved the problem by just removing the whole external window and the _strpintf_s etc and replacing it with a simple printf statement to print it to the console window. But yes adding the int main resolved the linker error (Don't know how I missed it the first time:)