Can't run the exe file directly

By this way to compile.
the exe file created was only run by the powershell but not directly.
or by cmd
How can i run exe files directly

Is there a a.exe file created after compling the code?

In case u are still not able to open the a.exe file for the latest complied code, u might check up a video for installing sublime editor for same on youtube, the issue will get resolved…

I followed the same steps the exe is being directly run for me. You might have missed a minor step

Hi Chhavi Actually I was asking if i could run programs without making a new build system (C_RUN or CPP_RUN).I followed the steps in th coding blocks pdf for setting up the environment and my program compiled fine.and run through the powershell. and the exe file is also created. But i can’t open the exe file by directly clicking on it.(It popups that access is denied).Is there a way resolve this access issue.

try running it with admin rights , because as far as setup is concerned the a.exe file always run directly once the compilatiion is done using either the command line or some editor.

Try Running with exe file with admin rights

Hey Chhavi, Thanks but issue is resolved.

Please mark the question resolved from ur end