Thread: stuck while running program using turbo c++ 4.5 in windows 7.

  1. #1
    Registered User Rakesh o_O's Avatar
    Join Date
    Jun 2012
    Location
    India
    Posts
    9

    stuck while running program using turbo c++ 4.5 in windows 7.

    stuck while running  program using turbo c++ 4.5 in windows 7.-1-pngstuck while running  program using turbo c++ 4.5 in windows 7.-2-pngstuck while running  program using turbo c++ 4.5 in windows 7.-3-pngstuck while running  program using turbo c++ 4.5 in windows 7.-4-png
    I get errors (as shown in attachments) while running any program using turbo c++ in windows 7 ultimate.

    program compile smoothly but get errors only while i click ctr+F9 i.e. while running.

    what should i do to eliminate these errors.

  2. #2
    Algorithm Dissector iMalc's Avatar
    Join Date
    Dec 2005
    Location
    New Zealand
    Posts
    6,318
    Quote Originally Posted by Rakesh o_O View Post
    what should i do to eliminate these errors.
    Throw away the decades old 'compiler' and use something that was made this century. like VS2008 Express.

    If TurboC++ were any older, you'd be here asking where to insert the punch-cards!
    My homepage
    Advice: Take only as directed - If symptoms persist, please see your debugger

    Linus Torvalds: "But it clearly is the only right way. The fact that everybody else does it some other way only means that they are wrong"

  3. #3
    Registered User
    Join Date
    Sep 2006
    Posts
    8,868
    Check the properties (right click the icon), and see if it has write permission, then check the options/directories and see if they're OK. Sounds like the compiler is writing out files OK.

    If that doesn't help, I'd just Google it and see what you can find. Not many regulars here use turbo C anymore. I was one of the last, but I had ver. 1.01, and it was vastly different than the Windows version you have.

    If nothing else, and you have to use that version, uninstall it (saving your programs first), and re-install it.

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    > what should i do to eliminate these errors.
    Get a real compiler for your modern OS.

    Not some decades old fossil originally written for Windows 3.

    Look at all those "Can't write" errors.
    On Win3, there was no protection at all, and any random program could scribble whatever it wanted, wherever it wanted. It was an ideal environment for malware, viruses etc.

    Win7 has some sense of file system privilege. If a program tries to do something (like create files in a protected directory), then it will be stopped.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem in running turbo C code
    By bulogi in forum C Programming
    Replies: 6
    Last Post: 04-26-2008, 10:25 PM
  2. Running another program in windows
    By Mr_Jack in forum C++ Programming
    Replies: 4
    Last Post: 01-22-2004, 02:01 AM
  3. Running C program in Linux or Windows
    By kepler in forum C Programming
    Replies: 4
    Last Post: 09-30-2003, 08:31 AM
  4. Running program from windows program?
    By Brian in forum Windows Programming
    Replies: 3
    Last Post: 01-26-2002, 10:19 PM
  5. Borland Turbo C++ 4.5 for Windows
    By sean in forum Windows Programming
    Replies: 0
    Last Post: 01-10-2002, 04:13 PM