Lynda.com is now LinkedIn Learning!

To access Lynda.com courses again, please join LinkedIn Learning

All the same Lynda.com content you know and love

Plus personalized recommendations and LinkedIn Career access   

All for the same price as Lynda! Get a 1-month free trial today.

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

Breaking out of loops

Breaking out of loops: C Essential Training
Breaking out of loops: C Essential Training

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

Resume Transcript Auto-Scroll
Skill Level Beginner
7h 22m
Duration
1,158,896
Views
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 Lynda.com 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 Lynda.com and will be automatically redirected to LinkedIn Learning to start your free trial.