Saturday, September 6, 2008

THE C ENVIRONMENT - NAVARRA


In this week, we discuss a very long topic that we didn’t finish it. But still we learned about many things especially in the programming portion. I learned that there 4 parts of C environment. They are the main menu, editor status line and edit window, compiler message window, and hot keys.

Main menu

- it instruct C to do something as indicated in the list of menu.
- It can de used by pressing Alt key and the first letter of the main menu.
· The basic menu are:
ü File – used to save files
ü Run – used to compile links and runs the program currently loading in the environment.
ü Compile – used to compile the program currently in the environment.
· The submenu under the file menu are:
ü Load – enables the user to select a file to be opened.
ü Pick – enables the user to select a file based on the last nine files previously opened or edited.
ü New – allows the user to start a new program.
ü Save – store the file that currently in the editor.
ü Write to – enables the user to save the file in different filename.
ü Directory – displays the content of the current working directory.
ü Change Dir – enables the user to specify the defined path to change the default path
ü OS Shell – load the DOS command processor
ü Quit – lets the user to exit.

Editor status line and edit window
- it is the part where you type your program
- where you can see the current line and the column of the text you typed.

Message Window
- is located beneath the middle of the edit window and hotkeys.
- Used to display various compiler or linker.

Hot Keys
- located at the bottom of C operating system.
- Refers for shortcut or shorthand for selecting a menu.

I also learned that there are five elementary data type in C. and they are the character that is cut into the term char, the integer that is known as the int, the floating point, the double floating, and the void.

Char
– used to hold ANSCII characters or any 8 – bit quantity.



Int
– used to hold any real numbers.

Floating and double floating
– used to hold any real numbers and fractional quantity.


Void
– used to declare explicitly a function as returning no value.
– Declare explicitly a function as no parameters
– Used to create generic pointers.

We also learned about the ranges of value of the numbers that a certain data can hold. Ai also learned that if we will apply the modifier, the value will be change because modifiers are used to alter the meaning of the base type to fit the needs of various situations more precisely.I also learned that the list of modifiers are the Signed, unsigned, long and short.

And as the end of the week, Sir allow us to read and familiarize the 32 keyword that we will be using in our program.

No comments: