answersLogoWhite

0

how do you save a C program?

Updated: 8/10/2023
User Avatar

Wiki User

11y ago

Best Answer

One does not normally save programs. Programs are usually binary files containing a list of executable instructions and internal data. The C++ programs are a suite of executables that allow the creation and management of source code files to create new executables. We do not need to save these programs -- they were stored on disk when the suite was first installed.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

13y ago

It depends on the particular editor and IDE (Integrated Development Environment) that you use. Most Windows based IDE's, such as Visual Studio, will save the file that has the focus by pressing <Ctrl>s. You can also close the file with <Ctrl><F4> and, if the IDE is properly configured, it will prompt you to save the file. Similarly, you can close the IDE with <Alt><F4>, and it should prompt you to save all open and modified files.

You can also compile the project or file with <F7>, execute it with <Ctrl><F5>, debug it with <F5>, or step into it with <F11>. Again, depending on your configuration, the IDE should offer to save before compiling, and compile before executing or debugging. Check your particular IDE for the specific shortcut keys, because they do vary, even amongst different versions of Visual Studio.

If you are using a Unix based system, will will need to consult your Unix documentation and/or the IDE you are using. If you are using vi, you can use :w, but very few people use vi these days.

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

YUOIUIOUI

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you save a C program?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you save a c program in Linux?

It depends on the editor.


What action takes place when you save a file opened in an application program?

C


Where do your counter strike screenshots save to?

In CS 1.6 it should save to C:\Program Files\Valve\Steam\SteamApps\&lt;username&gt;\Counter-Strike\cstrike\ In CZ it should save to C:\Program Files\Valve\Steam\SteamApps\&lt;username&gt;\Condition Zero\czero\ In CS:S it should save to C:\Program Files\Valve\Steam\SteamApps\&lt;username&gt;\Counter-Strike Source\cstrike\screenshots\


How do you download c program from the net?

right click with your mouse, then 'Save link target'


When you save information to your computer where is it automatically saved 'c' or 'd' drive?

it depends on how you have the program configured to save to default. Usually default settings are set to save user data to the "C:" drive and into the user folders


Program that is executed in c but not in c?

Answer1. When you save file using extension ".c" the program executes using "C" compiler and it cannot execute any other program which is not in "C".So, we cannot execute program in "C" which is not in "C".2. When you save file using extension ".cpp" the program executes using "C++" compiler and it can execute program of "C" but it should be saved with extension ".cpp".So, There is a program which is not in "C++" can be executed in "C++" compiler.Another answerYour question is ambiguous. 1. Okay in C++ but not in C:int main (void){ cout


Can you write a C program Without turbo C IDE?

Yes you can write a C program without using turbo C IDE. All you need is a text editor like notepad where you can write your codes and after writting them save the file with .c extension. But for compilling and running the code you will be needing turbo C IDE.


What are the file created after c file is save?

Having saved the source file (*.C), you can compile it into an object module (*.OBJ), then link an executable program (*.EXE)


Features of c program?

the features of a C program


C program was introduced in the year?

c program was introduced in the year 1972 by Dennis RitchieNo, it was the C language, not the C program.


can i save my own program?

Tunturi-T85F-Electronic-Treadmill has capacity to save up to '30' prograns , so you can save your program.


How to save the program in gw basic?

It tells you at the bottom of the screen: 4 Save''. This means press F4 to save your program and specify the file name. After that you can use F3 to load the program.