"Can't create process." 博兰 C++ 97

"Can't create process." Borland C++ 97

我是一名学习 C++ 课程的学生,被迫在 Borland C++ 5.02 上工作。

我一直在尝试编译我的代码,但每次我 运行 或调试它时,它都会弹出一条消息,提示“无法创建进程”。我尝试 运行 使用文件的程序,class,动态分配,它们都弹出相同的消息。我检查了我的路径,它们似乎没问题。我正在发布我测试并尝试 运行.

的其中一个程序的代码
 # include <iostream.h>
    # include <conio.h>
    void main()
    {
    enum{a,b,c,d};
    cout << a << endl << b << endl << c << endl << d ;
    getch();
    }

它是一个 16 位编译器 运行在 64 位模拟器上运行 Windows 8.1 OS.

我已经阅读了与我类似的问题的答案,但是 none 的方法对我有用。

这是它显示的错误:-

Info :helloworld.cpp: out of date with destination helloworld.obj
Info :  helloworld.cpp: source date 11:22:18 23/03/2015  destination date <unknown>
Info :Compiling C:\Users\prana_000\Desktop\All computer related guides and projects\C++ worksth grade\helloworld.cpp
Info :Linking C:\Users\prana_000\Desktop\All computer related guides and projects\C++ worksth grade\helloworld.exe

好的,我找到了一个解决方案,而且非常讽刺的是,它是 Turbo C++。好吧,这不是一个解决方案,但我从 DOSBOX 下载了 Turbo C++ 4.0,并将其用作我的主要编译器,一切都很好:)。感谢大家的帮助!