
C Programming 2007
by Tim Heagarty
Start the free chapterThe C Programming Language is the foundation of nearly all modern computer languages. C is a âlow levelâ simple language that can be used to create the most elegant of applications and operating systems. Most of todayâs commercial applications and operating systems have the C language at their core. VTC author Tim Heagarty explains the history and mechanics of the language and gives practical advice on its use in the commercial world. To begin learning simply click the links.
Course content
Introducing C7 lessons
First Steps7 lessons
Types/Operators & Expressions14 lessons
- Types/Operators & Expressions3:271 credit or ad
- Variable Names6:531 credit or ad
- Data Types & Sizes3:381 credit or ad
- Constants7:201 credit or ad
- Declarations3:101 credit or ad
- Arithmetic Operators2:331 credit or ad
- Relational & Logical Operators Pt.14:401 credit or ad
- Relational & Logical Operators Pt.24:341 credit or ad
- Type Conversions5:251 credit or ad
- Increment & decrement Operators3:201 credit or ad
- Bitwise Operators9:501 credit or ad
- Assignment Operators & Expressions3:431 credit or ad
- Conditional Expressions4:161 credit or ad
- Precedence & Order of Evaluations6:381 credit or ad
Control Flow11 lessons
- Control Flow2:111 credit or ad
- Statements & Blocks5:571 credit or ad
- If-Else2:111 credit or ad
- Else-If Pt.14:441 credit or ad
- Else-If Pt.25:191 credit or ad
- Switch9:381 credit or ad
- Loops - While8:561 credit or ad
- Loops - For4:541 credit or ad
- Loops - Do-While3:291 credit or ad
- Break & Continue3:351 credit or ad
- Goto & Labels2:251 credit or ad
Functions & Program Structure14 lessons
- Functions & Program Structure2:361 credit or ad
- Basics of Functions Pt.14:591 credit or ad
- Basics of Functions Pt.23:541 credit or ad
- Functions Returning Non-integers3:591 credit or ad
- External Variables4:221 credit or ad
- Scope Rules3:521 credit or ad
- Header Files3:541 credit or ad
- Static Variables Pt.17:141 credit or ad
- Static Variables Pt.22:251 credit or ad
- Register Variables2:031 credit or ad
- Block Structure3:101 credit or ad
- Initialization3:481 credit or ad
- Recursion4:041 credit or ad
- The C Preprocessor5:581 credit or ad
Pointers & Arrays14 lessons
- Pointers & Arrays1:051 credit or ad
- Pointers & Addresses Pt.14:021 credit or ad
- Pointers & Addresses Pt.26:021 credit or ad
- Pointers & Function Arguments2:571 credit or ad
- Pointers & Arrays4:011 credit or ad
- Address Arithmetic6:071 credit or ad
- Character Pointers & Functions3:531 credit or ad
- Pointer Arrays/Pointers to Pointers2:441 credit or ad
- Multi-dimensional Arrays5:071 credit or ad
- Initialization of Pointer Arrays2:481 credit or ad
- Pointers vs. Multi-dimensional Arrays2:381 credit or ad
- Command-line Arguments3:151 credit or ad
- Pointers to Functions2:391 credit or ad
- Complicated Declarations2:361 credit or ad
Structures9 lessons
- Structures2:181 credit or ad
- Basics of Structures Pt.14:241 credit or ad
- Basics of Structures Pt.24:221 credit or ad
- Structures & Functions6:591 credit or ad
- Arrays of Structures2:371 credit or ad
- Pointers to Structures6:491 credit or ad
- Typedef2:201 credit or ad
- Unions2:501 credit or ad
- Bit-fields2:371 credit or ad
Input & Output10 lessons
- Input & Output2:241 credit or ad
- Standard Input & Output6:361 credit or ad
- Formatted Output-Printf Pt.15:481 credit or ad
- Formatted Output-Printf Pt.22:491 credit or ad
- Variable Length Argument Lists5:121 credit or ad
- Formatted Input Scanf2:501 credit or ad
- File Access5:291 credit or ad
- Error Handling Stderr & Exit5:031 credit or ad
- Line Input & Output1:451 credit or ad
- Miscellaneous Functions6:311 credit or ad
Using C on the Web12 lessons
- Using C on the WWW With CGI4:141 credit or ad
- Basics of CGI Pt.14:101 credit or ad
- Basics of CGI Pt.23:481 credit or ad
- Preparing For C & CGI Pt.14:321 credit or ad
- Preparing For C & CGI Pt.25:121 credit or ad
- Hello World on CGI7:571 credit or ad
- Functions For C on WWW4:101 credit or ad
- Writing A Form For CGI Pt.16:091 credit or ad
- Writing A Form For CGI Pt.26:411 credit or ad
- Writing A Form For CGI Pt.37:111 credit or ad
- Display & Use Environment Vars Pt.14:231 credit or ad
- Display & Use Environment Vars Pt.26:551 credit or ad
The UNIX System Interface4 lessons
Input & Output13 lessons
- Input & Output <stdio.h> Pt.16:531 credit or ad
- Input & Output <stdio.h> Pt.24:561 credit or ad
- File I/O & Character I/O6:381 credit or ad
- Direct I/O & Error Handling5:591 credit or ad
- Character Class Tests <ctype.h>2:181 credit or ad
- String Functions <string.h> Pt.17:161 credit or ad
- String Functions <string.h> Pt.24:551 credit or ad
- Math & Utility <math.h> & <stdlib.h>3:321 credit or ad
- Diagnostics/Arg Lists & Signals Pt.15:471 credit or ad
- Diagnostics/Arg Lists & Signals Pt.22:251 credit or ad
- Date & Time Functions <time.h> Pt.13:241 credit or ad
- Date & Time Functions <time.h> Pt.24:341 credit or ad
- Defined Limits <limits.h> & <float.h>1:571 credit or ad