Essays24.com - Term Papers and Free Essays
Search

How To Write And Execute A C Program

Essay by   •  October 28, 2010  •  262 Words (2 Pages)  •  1,927 Views

Essay Preview: How To Write And Execute A C Program

Report this essay
Page 1 of 2

How to Write and Execute a C Program

1. Launch Miracle C version 3.2.

2. Create a source file by going to File„Ñ-New

3. Next type in the following code in the new window.

#include

void main()

{

printf(ÐŽ§Example programЎЁ);

}

4. Next save this file by going to File„Ñ-Save. When saving this file you will need to preserve the .c filename extension.

5. Now compile your program by pressing F6.

6. After the program compiles you will receive similar output window.

**If you receive this window with these (or similar) results you can close out of the window.

7. Now you will need to build the program by pressing F7.

8. After this step is completed an output window should display showing the results of the linking.

**If you receive this window with these (or similar) results you can close out of the window.

9. Finally, you are now ready to run your program by pressing F8. After doing this the output of your program should appear.

Congratulations, you have successfully written, compiled and executed your very own C program!!!

**results may vary depending on the input.

...

...

Download as:   txt (1.6 Kb)   pdf (53.4 Kb)   docx (9.1 Kb)  
Continue for 1 more page »
Only available on Essays24.com