By - RandomUniqueDude
I think you might have done this already but you do have Mingw installed?
Yup, and I've verified it using 'gcc --version' in CMD.
I followed the video step by step I can't seem to point out the problem
Windows GUI applications get called at the entry point WinMain.
Windows console applications get called at the entry point main().
You just need to tweak the project setup.
Also, it seems likely that [email protected] is a 16-bit mode -- you might want to check what memory model the project has configured.
I'm sorry I'm new to this. Everything in stackoverflow went through my head.
The inference I've drawn is that I'll have to use that winmain instead of main?
Also, how's VSC configuring the project differently than how I intend it to ( keeping in mind I've been following YouTube tutorials step by step carefully going through every step and verifying)?
That stackoverflow beats me too, and I don't use VSC or Windows now. I have just seen this problem come past several times.
When you create a new project in VS, there should be a menu or dropdown called "Terminal". Setting this makes your project into a "Console Application". The key words here are "Application Type".
It then will not include any Windows GUI libraries, and it will just behave like a normal Linux-style terminal application, and call main() to start.
The default project is to use a GUI with widgets and panels and all that visual stuff. To start that code framework, the system sets up to call WinMain() to do all the hidden stuff.
Googling Console Application, or WinMain, may help.
This is ten minutes, may be helpful (or may be not quite up to date): Visual Basic Tutorial 2 - Project Properties