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

Learning to Program Using Python

An introduction to computer programming, using the easy, yet powerful, Python programming language. Python, a cross-platform language used by such organizations as Google and NASA, lets you work quickly and efficiently, allowing you to concentrate on your work rather than the language. ...

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

Introduction to Scientific Programming with Python

This book offers an initial introduction to programming for scientific and computational applications using the Python programming language. The presentation style is compact and example-based, making it suitable for students and researchers with little or no prior experience in programming....

Statistics with Julia

Ccurrently many of Julia's users are hard-core developers that contribute to the language'..., download free Julia tutorial in PDF (413 pages) created by Hayden Klok ....

Processing WSDL in Python

With this tutorial you will learn how to process WSDL in Python language (web services and Python) , free PDF cocument under 11 pages by Mike Olson and Uche Ogbuji ....

Android Programming Basics

Start learning development mobile with this tutorial ,it's an easy trainig document in PDF the about of Android Programming ,free courses under 22 pages for beginners....

Practical Artificial Intelligence Programming in Java

This book uses both best of breed open source software and the author's own libraries to introduce the reader to Artificial Intelligence (AI) technologies like genetic algorithms, neural networks, expert systems, machine learning, and statistical natural language processing (NLP)....

Exploring .NET Core

Download free course Exploring .NET Core, pdf file on 155 pages by Dustin Metzgar....

Programming A Game With Unity: A Beginner's Guide

This is a free Unity PDF tutorial in 11 chapters and 27 pages. This course aims to give students the basics of Unity concepts. ...

Python for Everybody: Exploring Data in Python 3

Python for Everybody is designed to introduce students to programming and software development through the lens of exploring data. You can think of the Python programming language as your tool to solve data problems that are b...