Cover image for C Programming for the Absolute Beginner.
C Programming for the Absolute Beginner.
Title:
C Programming for the Absolute Beginner.
Author:
Davenport, Keith.
ISBN:
9781305273771
Personal Author:
Edition:
3rd ed.
Physical Description:
1 online resource (334 pages)
Contents:
Cover -- Table of Contents -- Introduction -- 1 Getting Started with C Programming -- Installing and Configuring the Cygwin Environment -- Understanding the main() Function -- Using Comments -- Understanding Keywords -- Working with Program Statements -- Escape Sequence \n -- Escape Sequence \t -- Escape Sequence \r -- Escape Sequence \\ -- Escape Sequence \" -- Escape Sequence \' -- Using Directives -- Creating and Running Your First C Program -- Debugging C Programs -- Common Error #1: Missing Program Block Identifiers -- Common Error #2: Missing Statement Terminators -- Common Error #3: Invalid Preprocessor Directives -- Common Error #4: Invalid Escape Sequences -- Common Error #5: Invalid Comment Blocks -- Summary -- 2 Primary Data Types -- Exploring Memory Concepts -- Understanding Data Types -- Using Integers -- Using Characters -- Initializing Variables and the Assignment Operator -- Printing Variable Contents -- Using Conversion Specifiers -- Displaying Integer Data Types with printf() -- Displaying Floating-Point Data Types with printf(). -- Displaying Character Data Types with printf() -- Understanding Constants -- Using Programming Conventions and Styles -- Using White Space -- Understanding Variable Naming Conventions -- Identifying Data Types with a Prefix -- Using Uppercase and Lowercase Letters Appropriately -- Giving Variables Meaningful Names -- Using the scanf() Function -- Doing Arithmetic in C -- Understanding Operator Precedence -- Chapter Program: Shop Profit -- Summary -- 3 Conditions -- Algorithms for Conditions -- Expressions and Conditional Operators -- Pseudocode -- Flowcharts -- Simple if Structures -- Nested if Structures -- Introduction to Boolean Algebra -- The and Operator -- The or Operator -- The not Operator -- Order of Operations -- Building Compound Conditions with Boolean Operators.

Compound if Structures and Input Validation -- The && Operator -- The

9 Introduction to Data Structures -- Structures -- The struct Keyword -- The typedef Keyword -- Arrays of Structures -- Structures and Functions -- Passing Structures by Value -- Passing Structures by Reference -- Passing Arrays of Structures -- Unions -- Typecasting -- Chapter Program: Card Shuffle -- Summary -- 10 Dynamic Memory Allocation -- Dynamic Memory Concepts -- Stack and Heap -- The sizeof Operator -- The malloc() Function -- Managing Strings with malloc() -- Freeing Memory -- Working with Memory Segments -- The calloc() and realloc() Functions -- Chapter Program: Math Quiz -- Summary -- 11 File Input and Output -- Introduction to Data Files -- Bits and Bytes -- Fields, Records, and Files -- File Streams -- Opening and Closing Files -- Reading Data -- Writing Data -- Appending Data -- goto and Error Handling -- Chapter Program: Character Roster -- Summary -- 12 The C Preprocessor -- Understanding the C Preprocessor -- Symbolic Constants -- Creating and Using Macros -- Building Larger Programs -- Header Files -- Function Definition File -- main() Function File -- Chapter Program: The Function Wizard -- ch12_calculate.h -- ch12_calculate.c -- ch12_main.c -- Summary -- What's Next? -- A: Common UNIX Commands -- B: Vim Quick Guide -- C: nano Quick Guide -- D: TCC Quick Guide -- Installing and Configuring TCC for Windows -- Downloading TCC -- Installing TCC -- Configuring TCC -- Creating, Compiling, and Executing Code -- Creating and Editing Source Code -- Compiling and Executing Source Code -- E: ASCII Character Codes -- F: Common C Library Functions -- Index -- A -- B -- C -- D -- E -- F -- G -- H -- I-J -- K -- L -- M -- N -- O -- P -- Q-R -- S -- T -- U -- V -- W-Z.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Added Author:
Electronic Access:
Click to View
Holds: Copies: