Am quite not been able to output to a console using the printf and std::cout statements. I am using Visual Studio for development.
Tried changing SubSystem to Console in project configuration (/Configuration properties/Linker/System). But I am gettig this error :
Error LNK2019 unresolved external symbol main referenced in function "int __cdecl invoke_main(void)" (?invoke_main@@YAHXZ)
Is there an alternative ? What am I overlooking here?
What can explain std::cout not to display anything?
How to output to the console in C++/Windows
Tried the solutions here, to the best of my understanding and knowledge.