Create a Simple C Program in Eclipse IDE in Just 3 Minutes – Fast & Easy!

Опубликовано: 17 Май 2026
на канале: PicoBit
397
7

Looking to start coding in C with Eclipse IDE? This quick, 3-minute tutorial is perfect for beginners! In just a few simple steps, you’ll learn how to create a basic C program from scratch, compile it, and run it in Eclipse IDE. No prior experience needed – we’ll show you exactly what to do, fast and easy! By the end, you’ll have your first C program up and running, ready for further exploration. Perfect for those who want to start coding right away!
SubTitle:
Welcome to the PicoBit-Tech channel! My name is Behnam Jafari, and in today’s session, I’ll show you how to write and run your first C program using Eclipse.
This tutorial is perfect for those who have already installed MinGW and Eclipse IDE on their system and are eager to start coding in C.
If you haven’t installed these tools yet, no problem! I’ve prepared two step-by-step installation videos for you. You can find the links to those videos at the top of this page.

Launch Eclipse. A dialog box will appear, allowing you to specify the workspace directory. If you check the box at the bottom of this dialog, the selected directory will be set as the default workspace, and this window will not appear again in future launches. Note that opening Eclipse might take a few moments.
o Click on the File menu, then select New and Project.
o A wizard will open. Choose C Project and click Next.
o In the Executable section, select Hello World ANSI C Project.
o In the Toolchains section, select the MinGW GCC compiler.
o Enter a custom name for your project in the Project name field and click Next.
o The Author field displays the name of the software creator.
o The Hello World Greeting field is for a custom message that will appear in the Eclipse console when the program runs.
o The Source field indicates the name of the folder where the C program file will be placed. There’s no need to modify this field.
o Click Next and Finish to complete the project setup.
o Make any necessary changes to the program and save the project.
o Open the project, and you will find the main project file inside the src folder.
o Click the Build button to compile the program.
o Ensure there are no errors or warnings in the console.
o To run the program, the path to the executable file in the Debug folder needs to be linked to Eclipse.
o Right-click on the project, then select Profile Tools followed by Profile Configuration.
o In the Profile Configuration window, double-click on C/C++ Application.
o Browse to the executable file located inside the Debug folder of your project and select it.
o Click Apply and then Close.
o Run the project. The custom message defined in the Hello World Greeting field will appear in the Eclipse console.
#Behnam Jafari Touchaei
#Behnam Jafari
#PicoBit-Tech
#بهنام جعفری
#بهنام جعفری توچاپی