I am creating a basic code, as I just insalled the required extensions on VScode in order to code in C/C++. I created a basic hello world program but instead of creating a output the following message is being prompted:
undefined reference to `WinMain@16'collect2.exe: error: ld returned 1 exit status
Any way to fix this, so that I can code?
I've tried re-naming the code project, deleting the file and then creating a new one but both don't seem to have a affect. I am looking for a way to fix this so I can code.