Jump to content

C Programming

From Wikibooks, open books for an open world

Wikibooks Contributors Present:
C Programming

A comprehensive look at the C programming language and its features.


Table of Contents

Image for: Table of Contents
[edit | edit source]


Introduction

[edit | edit source]
Why Learn the C programming Language?
History
What you need before you can learn
Obtaining a Compiler

Beginning C

[edit | edit source]
Intro Exercise
Preliminaries
Basics of Compilation
Programming Structure and Style
Variables
Simple Input and Output
Operators and type casting
Arrays and Strings
Program Flow Control
Procedures and Functions
Standard Libraries
Exercises

Intermediate C

[edit | edit source]
Advanced Data Types
Pointers and Relationship to Arrays
Memory Management
Error Handling
Stream I/O
String Manipulation
Further Math
Libraries

Advanced C

[edit | edit source]
Common Practices
Preprocessor Directives and Macros
Sockets and Networking (UNIX)
Serialization and X-Macros
Coroutines

C and Beyond

[edit | edit source]
Particularities of C
Low-level I/O
C Trigraph
Language Overloading and Extensions
Combining Languages
Object Oriented Programming: The GObject System
Commented Source Code Library

Computer Science

[edit | edit source]

Some of the following are C adaptations of articles from the Computer programming book.

Statements
Side Effects and Sequence Points

Reference Tables

[edit | edit source]

This section has some tables and lists of C entities.

Standard Library Reference
Preprocessor Reference
Language Reference

Platform Reference

[edit | edit source]
POSIX
GNU C Library
MS Windows

Appendices

[edit | edit source]
Image for: Related Wikibooks
[edit | edit source]