Modern C PDF book

Book Description

This book teaches you to take your C programming skills to new heights, whether you're just starting out with C or have more extensive experience. Organized by level, this comprehensive guide lets you jump in where it suits you best while still reaping the maximum benefits.

The C programming language has been around for a long time - the canonical reference for it is the book written by its creators, Kernighan and Ritchie [1978]. Since then, C has been used in an incredible number of applications. Programs and systems written in C are all around us: in personal computers, phones, cameras, set-top boxes, refrigerators, cars, mainframes, satellites, basically in any modern device that has a programmable interface.

Table of contents

  • Getting started
  • Imperative programming
  • Compiling and running
  • The principal structure of a program
  • Grammar
  • Declarations
  • Definitions
  • Statements
  • Warning to experienced C programmers
  • Everything is about control
  • Conditional execution
  • Iterations
  • Multiple selection
  • Expressing computations
  • Arithmetic
  • Operators that modify objects
  • Boolean context
  • The ternary or conditional operator
  • Evaluation order
  • Basic values and data
  • Basic types
  • Specifying values
  • Initializers
  • Named constants
  • Binary representions
  • Aggregate data types
  • Arrays
  • Pointers as opaque types
  • Structures
  • New names for types: typedef
  • Functions
  • Simple functions
  • main is special
  • Recursion
  • C Library functions
  • Mathematics
  • Input, output and file manipulation
  • String processing and conversion
  • Time
  • Runtime environment settings
  • Program termination and assertions
  • Style
  • Formatting
  • Naming
  • Organization and documentation
  • Interface documentation
  • Implementation
  • Macros
  • Pure functions
  • Pointers
  • Address-of and object-of operators
  • Pointer arithmetic
  • Pointers and structs
  • Opaque structures
  • Array and pointer access are the same
  • Array and pointer parameters are the same
  • Null pointers
  • Function pointers
  • The C memory model
  • A uniform memory model
  • Unions
  • Memory and state
  • Pointers to unspecific objects
  • Implicit and explicit conversions
  • Effective Type
  • Alignment
  • Allocation, initialization and destruction
  • malloc and friends
  • Storage duration, lifetime and visibility
  • Initialization
  • Digression: a machine model
  • More involved use of the C library
  • Text processing
  • Formatted input
  • Extended character sets
  • Binary files
  • Error checking and cleanup
  • Performance
  • Safety first
  • Optimizers are good enough
  • Help the compiler
  • Inline functions
  • Avoid aliasing: restrict qualifiers
  • Measurement and inspection
  • Functionlike macros
  • how does it work
  • Argument checking
  • Accessing the calling context
  • Variable length argument lists
Size : 1940.449 Kb
File type : pdf
Downloads: 230
Created: 2019-09-09
Modern C PDF book

Warning: Trying to access array offset on false in /home/tutovnfz/public_html/article.php on line 233

Others language C Tutorials

Others related eBooks about Modern C PDF book

Hacking Secret Ciphers with Python

Download free course Hacking Secret Ciphers with Python, pdf file on 442 pages by Al Sweigart....

Essential C

This book written to provide clear and concise explanation of topics for programmers both starting to learn the C Programming Language as well as those diving in more complex topics. Most examples are linked to online playground that allows you to change the code and re-run it....

Android Application Development for the Intel Platform

The number of Android devices running on Intel processors has increased since Intel and Go..., download free Android tutorial in PDF (520 pages) created by ....

Coding for kids

This PDF book teaches you how to encourage your kids to code at home, a guide to empowering kids with coding skills....

Biopython: Tutorial and Cookbook

The Biopython Project is an international association of developers tools for computationa..., download free Python tutorial in PDF (360 pages) created by Jeff Chang ....

Graph Algorithms

Download free course Graph Algorithms, pdf file on 257 pages by Mark Needham, Amy Hodler....

A Practical Introduction to Python Programming

This book started out as about 30 pages of notes for students in my introductory programmi..., download free Python tutorial in PDF (263 pages) created by Brian Heinold ....

Download Cobol Tutorial in PDF

Download free Cobol tutorial course in PDF, training file in 52 chapters and 118 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

Java Persistence with JPA

This tutorial is a reference guide to provide a framework on how to work with JPA and help you to start your first JPA applications,free PDF training course material on 33 pages ....

Think Java: How to Think Like a Computer Scientist, 2nd Edition

This book is a hands-on introduction to computer science and programming used by many universities and high schools around the world. Its conciseness, emphasis on vocabulary, and informal tone make it particularly appealing for readers with little or no experience. The book starts with the most basi...