Search code examples
c++borland-c++

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


I'm a student learning under the C++ curriculum and am forced to work upon Borland C++ 5.02.

I have been trying to compile my code, but every time I run, or debug it it pops up a message saying 'Can't create process'. I tried to run programs using files, class, dynamic allocation and all of them pop up the same message. I checked my paths and they seem to be fine. I'm posting the code of one of the programs I tested and tried to run.

 # include <iostream.h>
    # include <conio.h>
    void main()
    {
    enum{a,b,c,d};
    cout << a << endl << b << endl << c << endl << d ;
    getch();
    }

Its a 16 bit compiler running on an emulator on a 64 bit Windows 8.1 OS.

I have read the answers to the questions that are similar to mine but none of the methods have worked for me.

This is the error it shows :-

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++ works\12th grade\helloworld.cpp
Info :Linking C:\Users\prana_000\Desktop\All computer related guides and projects\C++ works\12th grade\helloworld.exe

Solution

  • Ok , ive found a solution , and its , quite ironically , Turbo C++. Well its not a solution as such but i downloaded Turbo C++ 4.0 off DOSBOX and am using that as my primary compiler an everything's just fine :) . Thanks for all the help !