is now LinkedIn Learning!

To access courses again, please join LinkedIn Learning

All the same content you know and love

Plus, personalized course recommendations tailored just for you

All the same access to your Lynda learning history and certifications

Try LinkedIn Learning for free
Questions? Visit our help center.
Skip navigation

Using while loops

Using while loops: C Essential Training (2014)
Using while loops: C Essential Training (2014)

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

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

You are now leaving and will be automatically redirected to LinkedIn Learning to access your learning content.