Skip navigation

We will update our Privacy Policy soon. Please see the preview.

Using for loops: C Essential Training
Using for loops: C Essential Training

Join for an in-depth discussion in this video Using for loops, part of C Essential Training.

Resume Transcript Auto-Scroll
Skill Level Beginner
7h 22m
Show More Show Less

Q: How do I configure a C compiler in Windows?

To configure a C compiler for Eclipse in Windows, follow these steps:
2) Open the resulting mingw-get-setup.exe file and click Continue until you get to the Installation Manager.
3) Select mingw32-base and choose Mark for Installation.
4) Under the Installation menu, choose Apply Changes and then Apply. Wait for the process to complete.
5) Open Eclipse and navigate to the Preferences option under the Window menu.
6) Under C/C++, find the New C/C++ Project Wizard option. For the Hello World ANSI C Project option, choose the MinGW GCC toolchain, and click Make toolchain(s) preferred. Press OK.
7) To create a new project, select the File menu and choose New C Project.
8) In the Project Type area, choose Hello World ANSI C Project, and specify a project name. Press Finish. This will create a .c file inside a folder named “src.”
9) Open the exercise file and copy and paste the contents into the .c file created inside of your project, replacing the contents.

Q: How do I use the exercise files on a Windows machine?

A: On Windows, the exercise files require a change to the compiler settings to enable C99 support. To change the compiler settings, follow these steps:

    1)    Right-click on the .c file and choose Properties.
    2)    Under C/C++ Build and Settings, change the Command value to 
“gcc -std=c99”. Click OK.

Skills covered in this course
Developer Programming Languages C

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start My Free Month

Start your free month on LinkedIn Learning, which now features 100% of courses. Develop in-demand skills with access to thousands of expert-led courses on business, tech and creative topics.

Start My Free Month