Installing C
- Every programming language is a standalone application.
- Standalone applications are compatible to Operating System
- We need to download and install the application before use of it.
- We download the using search engines like as follows
- Once we download the compiler, double click on file to start installation. Follow the instructions showing on installation wizard to complete installation.
- Once installation completed, an icon will appear in the specified path to run the C software.
- When we click on that icon, a window will open as shown.
- We can write programs using this editor(called IDE, will be discussed more clearly in coming chapters)
- We select new option from the file menu
After writing the program, we save the source file using save option from File menu.
- When we select ‘save’ option, a prompt window will be opened with location editor.
- We need to specify the file name along with file path to save the file in that location.
Once we save the file, the name will appear in the top center of that editor window as show below.
- To compile the, we need to select compile option from the compile menu.
- We can also use a shortcut alt+f9 to do the same thing
- Compiling prompt window will be opened as shown below.
- We can continue with execution if it shows 0 errors.
- Warning need not be considered, recommended to clear to make your program more syntactical.
- We can run the program by select the Run option from Run menu.
- We can use the shortcut ctrl+f9 to do the same.
- After execution of your program, the control automatically back to editor window.
- To check the output, we need to open user screen manually.
- We select User screen option from the window menu or use alt+f5 shortcut to do the same.
A console window will be opened where we can see the output of your code.
- We can select Quit option from the File menu to exit from the Software completely
- Alt+x is the shortcut to exit from the application.
- We can read the documentation for the library programs(variables or functions) before their use in our application.
- Help menu is providing serch options like index bases search, topic search and so on.
- We can directly open search window using shortcuts.
- We can click on the topic to read about.
- Index search window looks like.
You can see the complete information once you select and open any topic