C Pocket Reference: C Syntax and Fundamentals

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

C is one of the oldest programming languages and still one of the most widely used. Whether you're an experienced C programmer or you're new to the language, you know how frustrating it can be to hunt through hundreds of pages in your reference books to find that bit of information on a certain function, type or other syntax element. Or even worse, you may not have your books with you. Your answer is the C Pocket Reference. Concise and easy to use, this handy pocket guide to C is a must-have quick reference for any C programmer. It's the only C reference that fits in your pocket and is an excellent companion to O'Reilly's other C books.

Ideal as an introduction for beginners and a quick reference for advanced programmers, the C Pocket Reference consists of two parts: a compact description of the C language and a thematically structured reference to the standard library. The representation of the language is based on the ANSI standard and includes extensions introduced in 1999. An index is included to help you quickly find the information you need.

This small book covers the following:


C language fundamentals
Data types
Expressions and operators
C statements
Declarations
Functions
Preprocessor directives
The standard library
O'Reilly's Pocket References have become a favorite among programmers everywhere. By providing a wealth of important details in a concise, well-organized format, these handy books deliver just what you need to complete the task at hand. When you've reached a sticking point in your work and need to get to a solution quickly, the new C Pocket Reference is the book you'll want to have.

Author(s): Peter Prinz; Ulla Kirch-Prinz; Tony Crawford
Series: O'Reilly Pocket Reference
Publisher: O'Reilly Media
Year: 2002

Language: English
Pages: 144

Contents
Visit fbooks.ueuo.com for other eBooks
Introduction
Font Conventions
Fundamentals
C Program Structure
Character Sets
Identifiers
Categories and Scope of Identifiers
Basic Types
Integer Types
Real and Complex Floating Types
Internal representation of a real floating-point number
Complex floating types
The Type void
Constants
Integer Constants
Floating Constants
Character Constants and String Literals
Expressions and Operators
Arithmetic Operators
Assignment Operators
Relational Operators
Logical Operators
Bitwise Operators
Memory Accessing Operators
Other Operators
Alternative notation for operators
Type Conversions
Integer Promotion
Usual Arithmetic Conversions
Type Conversions in Assignments and Pointers
Statements
Block and Expression Statements
Jumps
if ... else
switch
Loops
while
do ... while
for
Unconditional Jumps
goto
continue
break
return
Declarations
General Syntax and Examples
Complex Declarations
Variables
Storage Classes
Initialization
Derived Types
Enumeration Types
Structures, Unions, and Bit-Fields
Unions
Bit-fields
Arrays
Pointers
Pointer arithmetic
Function pointers
Type Qualifiers and Type Definitions
restrict
typedef
Functions
Function Prototypes
Function Definitions
Function Calls
Functions with Variable Numbers of Arguments
Linkage of Identifiers
Preprocessing Directives
#define
#undef
#include
#if, #elif, #else, #endif
The defined operator
#ifdef and #ifndef
#line
#pragma
Standard Library
Standard Header Files
Input and Output
Error Handling for Input/Output Functions
General File Access Functions
File Input/Output Functions
Reading and writing characters and strings
Block read and write functions
Formatted output
Formatted input
Numerical Limits and Number Classification
Value Ranges of Integer Types
Range and Precision of Real Floating Types
Classification of Floating-Point Numbers
Mathematical Functions
Mathematical Functions for Integer Types
Mathematical Functions for Real Floating Types
Optimizing Runtime Efficiency
Mathematical Functions for Complex Floating Types
Type-Generic Macros
Error Handling for Mathematical Functions
The Floating-Point Environment
Character Classification and Case Mapping
String Handling
Conversion Between Strings and Numbers
Multibyte Character Conversion
Searching and Sorting
Memory Block Management
Dynamic Memory Management
Time and Date
Process Control
Communication with the Operating System
Signals
Non-Local Jumps
Error Handling for System Functions
Internationalization
Index