How To Use Eclipse
How To Use Eclipse
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.
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
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.
7|Page
5. Check your project output in eclipse Console.
8|Page