i have written my first code in vs code and tried to compile the code using MingW g++(installed and did that copied the bin address inside environmental variables) a.exe file is not shown which should have been shown as per youtube tutorial enter image description here
Asked
Active
Viewed 24 times
0
-
What's your build command? Did you look in the directory you build to if there's a file? – Stefan Riedel Nov 23 '21 at 08:11
-
There is a linker error due to the appropriate `main` function not being defined. – molbdnilo Nov 23 '21 at 08:16
-
Did you have implemented the main function ? `int main() { /* do something */; return 0; }` – Bolo Nov 23 '21 at 08:17
-
Int main is there – Amir Muallim Nov 23 '21 at 09:29