How to install C Software?
Open the cd double click on dosbox software folder. Double click on
DOSBox0.74-win32 – installer.click yes. Click next, click next,click install,
click close. It creates a dosbox icon in desktop.
Copy the turboc2 folder from cd paste into desktop. Then cut turboc2 from
desktop paste into C drive. If it asks administrator permission click yes. Then
remove the cd.
How to open C Software?
Z:\>mount c c:\ enter
Z:\>c: enter
C:\>cd turboc2 enter
C:\turboc2>tc.exe enter
Note:- All underline letters are we have to type.
It opens.
For full screen use alt+enter.
How to save?
Press F2 functional keyC:\turboc2\first.c enter
How to compile?
Alt+c enterIf it having errors or warnings enter
Then it shows.
If it is not having any errors or warnings
It shows success press any key Enter
How to Run (or) Execute?
How to See the output?
Alt+f5 functional keyWrite a program with clrscr and getch function
Explanation of the program
# include <stdio.h> is the link section or source file or header file.
# is a preprocessor. The Preprocessor command tells the compiler to include the
stdio.h file in the program. include is a directive.
Include means just what you would think it does.
Std means standard.
I means input.
O means output.
H means header file.
Preprocessor helps to link to header file.
main():- Program execution stars from the main().
clrscr():- It clears the screen.
printf():-
The output functions are used to display the values on the console. (or) It will read the values from the variables and displayed on the monitor.
getch():-
getch() is used to read a single character from the user without echoing.
Include means just what you would think it does.
Std means standard.
I means input.
O means output.
H means header file.
Preprocessor helps to link to header file.
main():- Program execution stars from the main().
clrscr():- It clears the screen.
printf():-
The output functions are used to display the values on the console. (or) It will read the values from the variables and displayed on the monitor.
getch():-
getch() is used to read a single character from the user without echoing.








No comments:
Post a Comment