From the course: Complete Guide to C Programming Foundations
Unlock the full course today
Join today to access over 24,500 courses taught by industry experts.
Getting into the C language - C Tutorial
From the course: Complete Guide to C Programming Foundations
Getting into the C language
- [Presenter] The C programming language was developed in the 1970s, created by doctors Brian Kernighan and Dennis Ritchie, who were also involved with the creation of the Unix operating system. It's based on the B language. The B stood for Bell Labs, where both men worked. C is considered a mid-level language. It has features of both low-level, and high-level programming languages. It's a procedural language, not object oriented. And it was conceived of as a better way to write low-level machine code, which runs fast, but takes a long time to develop. C was also written to be transferrable between many platforms. Here's the standard Hello World Program, shown in Assembly Code and in C. Both programs do the same thing. Though C may be cryptic, you can see how it's an improvement upon the more primitive assembly. Like any language, C has vocabulary, syntax, and various rules. The vocabulary consists of key words, operators, data types, expressions and functions. The key words shown in…
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
-
-
-
-
-
-
-
-
-
-
-