Overview

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 ...

See more details below
C Pocket Reference

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
$6.99
BN.com price
(Save 12%)$7.99 List Price

Overview

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.
Read More Show Less

Product Details

  • ISBN-13: 9781449378899
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 11/20/2002
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 1
  • Pages: 144
  • Sales rank: 627,869
  • File size: 2 MB

Meet the Author

Peter Prinz specializes in developing software and in teaching Assembler, C/C++/C#, Java, Windows (MFC), and UNIX system programming. As the chief developer and cofounder of an IT company, Peter has gained extensive experience in software development for computer telephony. As a seminar leader and key course developer at a professional consulting and training company he has taught courses to thousands of software developers. Peter is the co-author with his wife Ulla of several other books on software development in C/C++. More recent projects include "A Complete Guide to Programming in C++" (Jones & Bartlett Publishers, 2002). Peter currently resides in Munich, Germany, with Ulla and their two children: Vivi and Jeany. He may be contacted by email at prinz_peter@t-online.de

Read More Show Less

Table of Contents

Introduction 1
Fundamentals 2
C Program Structure 3
Character Sets 4
Identifiers 6
Categories and Scope of Identifiers 7
Basic Types 9
Integer Types 9
Real and Complex Floating Types 11
The Type void 13
Constants 14
Integer Constants 14
Floating Constants 16
Character Constants and String Literals 16
Expressions and Operators 18
Arithmetic Operators 20
Assignment Operators 21
Relational Operators and Logical Operators 22
Logical Operators 23
Bitwise Operators 24
Memory Accessing Operators 25
Other Operators 27
Type Conversions 29
Integer Promotion 29
Usual Arithmetic Conversions 30
Type Conversions in Assignments and Pointers 30
Statements 31
Block and Expression Statements 32
Jumps 33
Loops 35
Unconditional Jumps 37
Declarations 39
General Syntax and Examples 39
Complex Declarations 40
Variables 41
Storage Classes 41
Initialization 42
Derived Types 43
Enumeration Types 43
Structures, Unions, and Bit-Fields 45
Arrays 49
Pointers 52
Type Qualifiers and Type Definitions 55
Functions 57
Function Prototypes 58
Function Definitions 59
Function Calls 61
Functions with Variable Numbers of Arguments 62
Linkage of Identifiers 64
Processing Directives 65
Standard Library 73
Standard Header Files 73
Input and Output 74
Error Handling for Input/Output Functions 76
General File Access Functions 76
File Input/Output Functions 79
Numerical Limits and Number Classification 87
Value Ranges of Integer Types 87
Range and Precision of Real Floating Types 88
Classification of Floating-Point Numbers 90
Mathematical Functions 91
Mathematical Functions for Integer Types 91
Mathematical Functions for Real Floating Types 92
Optimizing Runtime Efficiency 94
Mathematical Functions for Complex Floating Types 95
Type-Generic Macros 96
Error Handling for Mathematical Functions 97
The Floating-Point Environment 98
Character Classification and Case Mapping 101
String Handling 103
Conversion Between Strings and Numbers 105
Multibyte Character Conversion 107
Searching and Sorting 108
Memory Block Management 109
Dynamic Memory Management 110
Time and Date 111
Process Control 113
Communication with the Operating System 113
Signals 114
Non-Local Jumps 115
Error Handling for System Functions 116
Internationalization 116
Index 121
Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)