not getting output on terminal
c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../libmingw32.a(main.o):(.text.startup+0xa0): undefined reference to `WinMain@16'
collect2.exe: error: ld returned 1 exit status PS C:\Users\pmalh\Desktop\c++> .a.exe .a.exe : The module '.a' could not be loaded. For more information, run 'Import-Module .a'. At line:1 char:1 + .a.exe + ~~~~~~~ + CategoryInfo : ObjectNotFound: (.a.exe:String) [], CommandNotFoundException + FullyQualifiedErrorId : CouldNotAutoLoadModule