The good news is that the tools required to learn C are all free, but the bad news is that you must assemble the tools and choose an approach for coding with this course. This video examines the options for writing C code and explains how to obtain and configure the various tools.
- [Instructor] To get started with C programming, you need an editor, compiler, and linker. These items are freely available. In fact, you may already have them as part of your computer's operating system. The command line or shell is available in Linux, macOS, and Unix. You can also install a Linux shell in Windows 10. It features all the tools you need or they can easily be obtained from the operating system's package manager. Another option is to obtain an integrated development environment or IDE. This program comes with an editor, compiler, and linker as well as debugging tools and special utilities to help you craft complex programs. Good news, the IDE is free. The IDE I recommend for this course is Code::Blocks. Visit codeblocks.org. This page may be updated, appearing differently from what's shown here. And what you're looking for is the Downloads link. Click it. And on the Downloads page, choose Binaries. For Windows, you want to select the setup EXE file that includes the mingw compiler. This is the link as this course is published. The version number may change in the future. But this is the one you want. Click one of these links over here to obtain the file and install the program. For other operating systems, choose the appropriate link on this page for your OS version or distribution. And remember that the package manager in Linux may be able to install Code::Blocks for you automatically. Obtain the exercise files and source code archive from this course's web page and expand it on your computer. You can do it right on the desktop or in a specific folder, depending on how you organize things. The files are grouped by chapter folder. Specific movies have their own folder. And within each folder, you see the exercise file source code as mentioned in each movie. Each file appears as it's introduced in the course. You can modify the files along with me or make changes on your own as you experiment with the C language. In the Code::Blocks IDE, you can choose to open each file individually or open them all in a group. Click on the various tabs to see the source code file in Code::Blocks. If you're viewing this course on a mobile device or HDTV, just follow along with each movie as I present the topics. And for the most part, the examples are shown like this with the full source code on the screen so you can pause the movie and type things in. The exercise files serve to save you time and provide examples. It's a great way to start your C essential training.
- Writing your first C program
- Working the C development cycle
- Adding comments to code for clarity
- C language data types
- Declaring variables
- Making new data types
- Typecasting variables
- Using math, assignment, and logical operators
- Creating for and while loops
- Nesting loops
- Creating functions
- Returning values from functions
- Passing arguments to functions
- Creating recursive functions
Skill Level Intermediate
C: Data Structures, Pointers, and File Systemswith Dan Gookin2h 57m Intermediate
1. The Fundamentals of C
2. Variables and Values
3. Operators and Math
4. Decisions and Loops
Next steps1m 38s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.