This post will help you to start the great C-PROGRAMMING
Open the TURBO C++ application using TC.exe. The window would appear as below.
1.Open a new file File => New.
2.Type the given code in that editor
#include<stdio.h>
int main()
{
printf("Welcome to Learn C Language");
return 0;
}
3.After typing the above code in blue screen, save it using File => Save. A window will prompt for the file name. Give the file name as you wish,with the extension .c. Save the program in the BIN folder which you could open easily for the later use. File name should have the maximum length of 8-characters.
4.Compile the program using Compile => Compile in the menu bar.
You will get the status as success after the compilation process get over.
Press Enter.
5.Run the program using Run =>Run in the menu bar.
6.Output window will not be viewed after running a program. To view the output screen,
Windows => User Screen and press Enter.
[You could give any content inside the double quotes instead of "Welcome to Learn C Language" to get it printed.]
Above one is the procedure for a program.
Details about each line of the program [what is what?] will be discussed in the coming posts.
Learn some short-cut keys that would save your time.
F2 - Saving a file.
F3 - Opening a file.
Alt+F3 - Closing a file.
Alt+F9 - Compiling a file.
Ctrl+F9 - Running a file.
Alt+F5 - Viewing Output Screen.
Alt+x - Quit or Close TURBO C++.
Will get you back with more technically and practically in the next post...
Open the TURBO C++ application using TC.exe. The window would appear as below.
1.Open a new file File => New.
2.Type the given code in that editor
#include<stdio.h>
int main()
{
printf("Welcome to Learn C Language");
return 0;
}
3.After typing the above code in blue screen, save it using File => Save. A window will prompt for the file name. Give the file name as you wish,with the extension .c. Save the program in the BIN folder which you could open easily for the later use. File name should have the maximum length of 8-characters.
4.Compile the program using Compile => Compile in the menu bar.
You will get the status as success after the compilation process get over.
Press Enter.
5.Run the program using Run =>Run in the menu bar.
6.Output window will not be viewed after running a program. To view the output screen,
Windows => User Screen and press Enter.
OUTPUT SCREEN:
[You could give any content inside the double quotes instead of "Welcome to Learn C Language" to get it printed.]
Above one is the procedure for a program.
Details about each line of the program [what is what?] will be discussed in the coming posts.
Learn some short-cut keys that would save your time.
F2 - Saving a file.
F3 - Opening a file.
Alt+F3 - Closing a file.
Alt+F9 - Compiling a file.
Ctrl+F9 - Running a file.
Alt+F5 - Viewing Output Screen.
Alt+x - Quit or Close TURBO C++.
Will get you back with more technically and practically in the next post...
0 comments:
Post a Comment