so I installed visual code and setup g++ compiler etc.
now while running my code I’m getting this error
c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../libmingw32.a(main.o):(.text.startup+0xa0): undefined reference to `WinMain@16′
collect2.exe: error: Id returned 1 exit status
Explain what this it and how can I fix it
i opened the terminal and wrote “g++ .tut1.cpp” (tut1.cpp is the file name)
then from what i was told a file name .a.exe supposed to come out and then u enter for the code
but instead the aforementioned error came
Legitto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.