none
DEV C++ can not execute code (Windows 10)

    Question

  • My Dev C++ suddenly started this weird issue (it worked fine until today). When I execute a code, it shows the follwing message in the window instead of displaying "hello": "Failed to execute (....path of the file). Error 5: Access is denied."

    The weird thing is that when I try to display "hello world", the program works fine.

    Note that in the case of outputting "hello world" I only added " world" in the output to the program which should output "hello", the rest of the code is unchanged. The program also fails executing the code in which I declare a variable and assign a value to it (and many others). How can I solve this problem?

    P.S. If I am posting this question in he wrong place, please, let me know.

    Friday, October 19, 2018 8:31 AM