Open main menu

Wikibooks β

Wikibooks Contributors Present:
C Programming

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


Table of ContentsEdit

IntroductionEdit

  Why Learn C?
  History
  What you need before you can learn
  Obtaining a Compiler

Beginning CEdit

  Intro Exercise
  Preliminaries
  Basics of Compilation
  Programming Structure and Style
  Variables
  Simple Input and Output
  Simple Math
  Arrays and Strings
  Program Flow Control
  Procedures and Functions
  Standard Libraries
  Exercises

Intermediate CEdit

  Pointers and Relationship to Arrays
  Composite Data Types
  Memory Management
  Error Handling
  File I/O
  String Manipulation
  Further Math
  Libraries
  Exercises

Advanced CEdit

  Sockets and Networking (UNIX)
  Preprocessor Directives and Macros
  Common Practices
  Serialization and X-Macros
  Coroutines
  Exercises

C and BeyondEdit

  Particularities of C
  C Trigraph
  Language Overloading and Extensions
  Combining Languages
  Object Oriented Programming: The GObject System
  Commented Source Code Library

Computer ScienceEdit

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

  Statements
  Side Effects and Sequence Points

Reference TablesEdit

This section has some tables and lists of C entities.

  Language Reference
  Preprocessor Reference
  Standard Library Reference
  POSIX Reference
  Platform Reference
  C Compilers Reference List

AppendicesEdit

Related WikibooksEdit