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

This is a discussion on stuck while running program using turbo c++ 4.5 in windows 7. within the C Programming forums, part of the General Programming Boards category; I get errors (as shown in attachments) while running any program using turbo c++ in windows 7 ultimate. program compile ...

  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.

    Name:  1.png
Views: 513
Size:  8.1 KBName:  2.png
Views: 491
Size:  8.5 KBName:  3.png
Views: 446
Size:  8.2 KBName:  4.png
Views: 457
Size:  8.0 KB
    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,302
    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 wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,498
    > 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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

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, 01: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, 09:19 PM
  5. Borland Turbo C++ 4.5 for Windows
    By sean in forum Windows Programming
    Replies: 0
    Last Post: 01-10-2002, 03:13 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21