0% found this document useful (0 votes)
9 views9 pages

How To Use Eclipse

Uploaded by

Ahmed Elgohry
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views9 pages

How To Use Eclipse

Uploaded by

Ahmed Elgohry
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

How To Use Eclipse

Engineer / Mohamed Tarek


Creating a C Project
1. Select File > New > C/C++ Project.

2. Select C Managed Project > Next

1|Page
3. Select Executable Project then Empty Project and write the project name.
Note: Project name should contain capital & small letters, digits and underscore only.

4. Choose the Toolchain to be MinGW GCC.

5. Select Finish.

2|Page
6. Now you have a new C Project.

7. You need to create a source file to write your code. So right click on your project then
select New then Source File.

3|Page
8. Write the file name and press finish.
Notes:
- File name should contain capital & small letters, digits and underscore only.
- File extension should be .c

9. Start Implementing your code.

4|Page
Build a C Project
1. Get your code ready.

2. Make sure that your files are saved before building the code by pressing CTRL + S.

3. Build the project by right click on the project and then select Build Project.

5|Page
4. If there are NO build errors in your code and the project build successfully. You will get
the project executable .exe file inside the debug directory in your project and you can
Run your project now.

5. If there are build errors in your code, you can check it from the problems tab and fix
them.
For example if there is a missing ; in one code lines.

6|Page
Run a C Project
1. Select your project first by click on it.

2. Press the Run button from eclipse tool bar.

3. This will create a Run configuration for your project.

4. Select Local C/C++ Application then ok

7|Page
5. Check your project output in eclipse Console.

Thank You & Good Luck


Engineer / Mohamed Tarek

8|Page

You might also like