From the course: Complete Guide to C Programming Foundations
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Working the C development cycle - C Tutorial
From the course: Complete Guide to C Programming Foundations
Working the C development cycle
- [Instructor] Creating a C language program requires three steps. Write the source code, compile and link, test run the program. You start by writing the source code. Use a text editor. C language source code is plain text, no fancy fonts or layouts. The code runs top down, just as you read text. Save the source code file with the .c file name extension. This is an example of a typical C source code skeleton file, often used to start new projects. You see it here in a text editor, which is part of this integrated development environment or IDE. The next step is to compile and link. The compiler translates the source code into object code. The linker combines the object code with a C library, which creates the final program. In a modern IDE both compiling and linking are combined into a single process called build. The compiler is what creates the object code file based on the C language source code. Object code isn't a program, but rather tokens and shortcuts that help build the…
Contents
-
-
-
Coding your first program3m 40s
-
(Locked)
Challenge: Write your own code51s
-
(Locked)
Solution: Write your own code1m 50s
-
(Locked)
Getting into the C language2m 34s
-
(Locked)
Reviewing code structure3m 52s
-
(Locked)
Working the C development cycle3m 45s
-
(Locked)
Challenge: Find and fix the bugs43s
-
(Locked)
Solution: Find and fix the bugs1m 28s
-
(Locked)
Exploring the preprocessor3m 23s
-
(Locked)
Understanding header files and libraries3m 19s
-
(Locked)
Adding comments2m 49s
-
(Locked)
Chapter challenge: Building the foundation1m 11s
-
(Locked)
Chapter solution: Building the foundation1m 38s
-
-
-
-
-
-
-
-
-
-
-