From the course: C: Data Structures, Pointers, and File Systems

Configuring the IDE - C Tutorial

From the course: C: Data Structures, Pointers, and File Systems

Start my 1-month free trial

Configuring the IDE

- [Instructor] The integrated development environment or IDE I recommend for this course is Codeblocks. Visit codeblocks.org. This page may be updated, appearing different from what's shown here. What you're looking for is the downloads link. Click it. On the downloads page, choose to obtain the binary release. For Windows, select the setup.exe file that includes the minGW compiler. Here it is. Codeblocks 1712 minGW setup. The release numbers may change in the future. Now, for Mac OS 10 you would choose the only version available, shown here, and for Linux, you would choose the version based on your distribution. You can also use your system's software updater to obtain Codeblocks directly. Choose the proper link, and the download starts automatically. When the download is complete, open the setup program and proceed to install Codeblocks according to the directions presented. Standard installation is fine, and you can choose to run Codeblocks after the installation is done. Here's the main Codeblocks window, called the workspace. Atop the workspace you'll find a clutch of toolbars. On the left is the management panel, which lists your projects. In the center is the editor. This is where you'll write code or view the exercise files downloaded for this course. At the bottom of the screen are various tabs that display messages and other information. If Codeblocks informs you that it cannot find the C compiler, confirm the location. Choose settings, compiler. Click the tool chain executibles tab. Confirm that the proper path to the system's C compiler is specified in the C compiler field. If not, you use the ellipsis button to locate where the file is found. For the compiler question on the Macintosh and Linux, I recommend that you select the LLVM Clang compiler. Otherwise, the Gnu C compiler, GCC, shown here, works just fine. When you're done with configuration, quit Codeblocks, then reopen the program to ensure that your changes have taken effect. With Codeblocks installed, you're ready to write some code. I'm certain that you're eager to do so.

Contents