Autoplay
Autocomplete
Previous Lesson
Complete and Continue
Learn To Program C
Getting Ready
Welcome to the course (4:08)
C Editors and IDEs (1:59)
FAQ – Read This First!
Install CodeLite (2:12)
Install a C compiler on a Mac (3:18)
Introduction to CodeLite (5:18)
Programming C with NetBeans (2:12)
Importing Projects Into NetBeans (5:55)
Compiling C programs at the system prompt (9:41)
Visual Studio 2019
Using Visual Studio (6:33)
Little Book Of C
The C Source Code Archive
Quiz Questions
Quiz Answers
C programming basics
A first program - Hello world (6:06)
Arguments and return values (4:10)
Passing commandline arguments to your program (5:13)
How to open a command prompt on Windows or OS X (4:35)
printf (5:17)
Comments (1:44)
Variables, constants and types
Variables and types (3:47)
Integers and floating point numbers (4:32)
Constants (3:42)
More about constants (4:44)
Naming conventions (5:29)
Operators, tests and user input
Operators – equality and assignment (2:47)
Operators – tests and comparisons (3:31)
Compound assignment operators (3:35)
Increment and decrement operators (3:51)
if and else tests (6:32)
Problems with gets() and fgets() (7:46)
Input, buffers and flushing (9:32)
My own line-reading function (8:41)
Logical Operators (5:00)
Functions, arguments and switch
Functions (9:26)
Arguments (6:19)
Switch statements (6:55)
Switch statements in more detail (5:16)
Arrays, loops and break
Arrays (3:26)
Initializing Arrays (6:36)
‘while’ loops (4:26)
‘do..while’ loops (2:53)
break (5:19)
break and continue (5:18)
Multidimensional arrays (7:09)
Strings, chars and pointers
Strings, pointers and addresses (3:50)
Null-terminated strings (4:11)
Char arrays and pointers (7:49)
Arrays, pointers and assignment (6:06)
Strings and functions, stack and heap (6:58)
String functions (9:39)
char functions (3:27)
chars and strings (2:19)
Structs, enums, header files and scope
structs (5:44)
typedef (3:10)
Enums (7:45)
Header files (8:12)
A custom header file (2:26)
Scope (4:15)
Scope and external files (2:44)
Static functions and variables (6:03)
Compiling from the commandline (6:59)
File-handling
Opening and closing files (3:11)
File modes (2:44)
Reading and writing a text file (5:05)
Counting lines in a text file (4:17)
Search in a text file (4:03)
Binary files and memory allocation
Binary files (5:30)
Allocating and freeing memory (5:54)
Types and type casts (7:48)
Creating a CD database (2:59)
Saving and loading records in a binary file (7:17)
Adding records to a binary file (4:54)
Modifying records in a binary file (5:39)
And finally… (2:00)
Teach online with
Scope
Lesson content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock