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.
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.
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"
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.
> 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.