why do i keep getting this error c:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot open output file stars.exe: permission denied collect2.exe: error: ld returned 1 exit status
however it runs simple codes like printing “Hello world”
i tried saving, granting file permissions.
I expect my code to run normally
New contributor
Mercy Peace is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.