OpenSourceHelpCommunity / Questions

To add your question raise an issue in this repository.
MIT License
27 stars 47 forks source link

new to c++ , wrote program for the first time on vs code and downloaded mingw , showing error , pls help me proceed further #491

Open utkarshgupta885 opened 4 months ago

utkarshgupta885 commented 4 months ago

This is the program i typed

include

using namespace std; int main(){ cout<< "Hello World" <<endl ; return 0; }

ran it and i am getting this in the terminal window :-

PS C:\Users\Windows11pro\Desktop\CODING\C++> c

                                       > cd "c:\Users\Windows11pro\Desktop\CODING\C++\" ; if ($?) { g++ firstprogram.cpp -o firstprogram } ; if ($?) { .\firstprogram }

Program 'firstprogram.exe' failed to run: Unknown error (0xfffffffe)At line:1 char:111