
C Programming for the Absolute Beginner.
Title:
C Programming for the Absolute Beginner.
Author:
Vine, Michael A.
Personal Author:
Physical Description:
1 online resource (267 pages)
Contents:
Contents -- Introduction -- CHAPTER 1 C Fundamentals -- Chapter Program: Welcome to C -- Introduction to Software Engineering -- Introduction to Unix -- Getting Help with Unix -- Processes -- Files and Directories -- Choosing the Right Editor -- Main Function -- Comments -- Program Statements -- Escape Sequence \n -- Escape Sequence \t -- Escape Sequence \r -- Escape Sequence \\ -- Escape Sequence \" -- Escape Sequence \' -- Directives -- gcc Compiler -- Interpreting Error Messages -- Missing Program Block Identifiers -- Missing Statement Terminators -- Invalid Preprocessor Directives -- Invalid Escape Sequences -- Invalid Comment Blocks -- Chapter Program: Welcome to C -- Summary -- CHAPTER 2 Beginning Data Types -- Chapter Program: Profit Wiz -- Memory Concepts -- Data Types -- Integers -- Floating-Point Numbers -- Characters -- Initializing Variables and the Assignment Operator -- Printing Variable Contents -- Conversion Specifiers -- Constants -- Naming Conventions -- Identifying Data Types with a Prefix -- Using Uppercase and Lowercase Letters Appropriately -- Give Variables Meaningful Names -- scanf -- Arithmetic in C -- Operator Precedence -- Chapter Program: Profit Wiz -- Summary -- CHAPTER 3 Conditions -- Chapter Program: Fortune Cookie -- Algorithms for Conditions -- Expressions and Conditional Operators -- Pseudocode -- Flowcharts -- Simple if Structures -- Nested if Structures -- Boolean Algebra -- and Operator -- or Operator -- not Operator -- Order of Operations -- Building Compound Conditions with Boolean Operators -- Compound if Structures and Input Validation -- && Operator --
Pseudocode for Looping Structures -- Flowcharts for Looping Structures -- Operators Continued -- ++ Operator -- - - Operator -- += Operator -- -= Operator -- The while Loop -- The do while Loop -- The for Loop -- Break and continue Statements -- System Calls -- Chapter Program: Concentration -- Summary -- CHAPTER 5 Structured Programming -- The Trivia Game -- Introduction to Structured Programming -- Top-Down Design -- Code Reusability -- Information Hiding -- Functions -- Function Prototypes -- Function Definitions -- Function Calls -- Variable Scope -- Chapter Program: Trivia Game -- Summary -- CHAPTER 6 Arrays -- Chapter Program: Tic-tac-toe -- Introduction to Arrays -- One-Dimensional Arrays -- Creating One-Dimensional Arrays -- Initializing One-Dimensional Arrays -- Searching One-Dimensional Arrays -- Two-Dimensional Arrays -- Initializing Two-Dimensional Arrays -- Searching Two-Dimensional Arrays -- Creating Strings with Arrays -- Chapter Program: Tic-tac-toe -- Summary -- CHAPTER 7 Pointers -- Chapter Program: Cryptogram -- Introduction to Pointers -- Declaring and Initializing Pointer Variables -- Printing Pointer Variable Contents -- Functions and Pointers -- Passing Arrays to Functions -- The const Qualifier -- Chapter Program: Cryptogram -- Introduction to Encryption -- Building the Cryptogram Program -- Summary -- CHAPTER 8 Strings -- Chapter Program: Word Find -- A Look at Strings -- Reading and Printing Strings -- String Arrays -- Converting Strings to Numbers -- Manipulating Strings -- strlen -- tolower and toupper -- strcpy -- strcat -- Analyzing Strings -- strcmp -- strstr -- Chapter Program: Word Find -- Summary -- CHAPTER 9 Advanced Structures and Data Types -- Structures -- struct -- typedef -- Arrays of Structures -- Passing Structures to Functions -- Unions -- Type Casting -- Chapter Program: Card Shuffle -- Summary.
CHAPTER 10 Dynamic Memory Allocation -- Chapter Program: The Math Quiz -- Memory Concepts Continued -- The Stack -- The Heap -- sizeof -- malloc -- Managing Strings with malloc -- Freeing Memory -- Working with Memory Segments -- calloc -- realloc -- Chapter Program: Math Quiz -- Summary -- CHAPTER 11 File Access -- Chapter Program: The Phone Book -- Introduction to Data Files -- Data File Hierarchy -- File Streams -- Opening and Closing Files -- Reading Data -- Writing Data -- Appending Data -- Chapter Program: The Phone Book -- Summary -- CHAPTER 12 The C Preprocessor -- Chapter Program: The Function Wizard -- Introduction to the C Preprocessor -- Symbolic Constants -- Creating and Using Macros -- Building Larger Programs -- Dividing a Program -- profit.h -- profit.c -- main.c -- Pulling It All Together -- Chapter Program: The Function Wizard -- Summary -- Index -- A -- B -- C -- D -- E -- F -- G-H -- I -- K -- L -- M -- N -- O -- P -- 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.
Subject Term:
Genre:
Electronic Access:
Click to View