undefined reference to `WinMain@16′ : Mingw error while compiling
enter image description here
Visual Studio showing strange errors
I’ve been trying to code with C++ in Visual Studio 2022, however, some weird errors have been showing off. It is about the source files. Like it said “Cannot find source file —.h”. (I don’t have an image here)