- Back to Home »
- How to Install Dev C++ and writing a program
Posted by : Unknown
Rabu, 14 September 2016
How to Install Dev C++
Hi guys, today i will tell you about how to install a program , the program is Dev C++. Check it out ^^
What is Dev C++ ?
Dev C++ is an aplication for writing and compile program. It made for programming in C and C++
How to Install Dev C++
1. Download the Dev C++ Installer, you can download it here : https://sourceforge.net/projects/orwelldevcpp/
2. If the download already finish, open the installer
3. Choose languange you want to use , then click "OK"
4. Read the license of agreement and click "I Agree" to continue the installation
5. Choose the component you want to install, i recomend to install all the component , and then Click next
6. Choose the destination folder, where will you want to keep the Dev C++ file. Usually it will automatically browse at Disk C. After you choose, Click Install
7. The program will be installing now, wait for the installation to finish
8. Finish ! Now you can use Dev C++ to writing program and compiling program
Writing a program in Dev C++
Now that the installation already finish, now you use Dev C++ to write program and compile it. Lets try to make a simple instruction say " Hi, welcome to baimsmk blog", i will explain how to do it
1. First, you need to make a new project. Click file tab then choose project
2. Then, write down your program at the new project you just made
#include <stdio.h> is an instruction including standard input output so we can use the instruction
main : in C languange we must put main before start writing the instruction
printf : is an intruction to print the word inside the double quote
return 0 : it mean the program already finish, and return to 0
3. After finishing the writing, we should compile & run it, it on execute tab.
4. You can see if there are errors in your program in compile log
5. And, that's it we already finish it, you can see the "Hi, welcome to baimsmk blog" is printed
Thankyou for reading this post, i hope this can help you ^^
Byeeeee