Jump to content

Editing programming

Featured Replies

Can't we edit code after running it??actually i have been writing programme using turbo c+ and i m unable to edit my code after running it.Is it bcoz of my processor or is that fact that we can't edit code after running it??

you should be able to edit code after running.

you re probably using a compiler which changes the code so it can be run, best to make a back-up before running/compiling, or figure out what turbo c+ exactly does upon running.

While you are running code, i.e. in debug mode, your IDE often won't allow editing of the source.

Make sure it's really stopped, no processes left hanging, before trying to edit.

 

Executable file is opened in read-only exclusive mode which means no other process can modify it until it is running. Linker, which is invoked at the end of compilation process, will be unable to save new executable file with the same file name.

16 hours ago, Netra77 said:

Can't we edit code after running it??actually i have been writing programme using turbo c+ and i m unable to edit my code after running it.Is it bcoz of my processor or is that fact that we can't edit code after running it??

Can you explain what you mean by "can't edit it"? Do you get an error message? 

Turbo C++? That was discontinued 20 years ago, wasn't it? (It could be a bug in Turbo C++. Which is not going to get fixed, now.)

Why not use a more modern tool? You can get a free version of Microsoft's Visual Studio, which is excellent

Quote

Most schools and colleges in India that teach Computer Science or Information Technology tend to use C and C++ as the first programming languages. The sad part is that many of these C++ courses still use the Turbo C++ Compiler.

...

I've tried to create a list of reasons why you shouldn't be using Turbo C++:

...

https://galdin.dev/blog/why-you-shouldnt-be-using-turbo-c/

 

Archived

This topic is now archived and is closed to further replies.

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.