skip to Main Content

I wrote a program in Turbo C++, and compiled it there. Everything was successful, and the program ran as expected. Now, I want to run the program as an exe file. I found the exe file in a separate folder named ‘Source’. But whenever I try to run it, I get the error :

“This app can’t run on your PC. To find a version for your PC, check with the software publisher.”

None of the exe files in that folder are working, although all the other softwares (like Photoshop) are opening fine.
Could someone help me please?

2

Answers


  1. The OS on your PC probably is 64 bit. So the older 16 bit application would not run on it. I suggest you to use some virtual machine with installed OS DOS (or free DOSBOX for example), or try to compile your program on more modern compiler.

    Login or Signup to reply.
  2. write
    system(“PAUSE”);
    before return 0;

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search