
C Programming for the Absolute Beginner.
Title:
C Programming for the Absolute Beginner.
Author:
Vine, Michael.
ISBN:
9781598636345
Personal Author:
Edition:
2nd ed.
Physical Description:
1 online resource (334 pages)
Contents:
TABLE OF CONTENTS -- Chapter 1 GETTING STARTED WITH C PROGRAMMING -- Installing and Configuring the Cygwin Environment -- main() Function -- Comments -- Keywords -- Program Statements -- Escape Sequence \n -- Escape Sequence \t -- Escape Sequence \r -- Escape Sequence \\ -- Escape Sequence \" -- Escape Sequence \' -- Directives -- gcc Compiler -- How to Debug 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 -- Challenges -- Chapter 2 PRIMARY DATA TYPES -- Memory Concepts -- Data Types -- Integers -- Floating-Point Numbers -- Characters -- Initializing Variables and the Assignment Operator -- Printing Variable Contents -- Conversion Specifiers -- Displaying Integer Data Types with printf() -- Displaying Floating-Point Data Types with printf() -- Displaying Character Data Types with printf() -- Constants -- Programming Conventions and Styles -- White Space -- Variable 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 -- Challenges -- Chapter 3 CONDITIONS -- Algorithms for Conditions -- Expressions and Conditional Operators -- Pseudo Code -- Flowcharts -- Simple if Structures -- Nested if Structures -- Introduction to Boolean Algebra -- and Operator -- or Operator -- not Operator -- Order of Operations -- Building Compound Conditions with Boolean Operators -- Compound if Structures and Input Validation -- && Operator --
Random Numbers -- Chapter Program-Fortune Cookie -- Summary -- Challenges -- Chapter 4 LOOPING STRUCTURES -- Pseudo Code 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 -- Challenges -- Chapter 5 STRUCTURED PROGRAMMING -- Introduction to Structured Programming -- Top-Down Design -- Code Reusability -- Information Hiding -- Function Prototypes -- Function Definitions -- Function Calls -- Variable Scope -- Local Scope -- Global Scope -- Chapter Program-Trivia -- Summary -- Challenges -- Chapter 6 ARRAYS -- 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 -- Chapter Program-Tic-Tac-Toe -- Summary -- Challenges -- Chapter 7 POINTERS -- Pointer Fundamentals -- 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 -- Challenges -- Chapter 8 STRINGS -- Introduction to 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 -- Challenges -- Chapter 9 INTRODUCTION TO DATA STRUCTURES -- Structures -- struct -- typedef -- Arrays of Structures -- Passing Structures to Functions.
Passing Structures by Value -- Passing Structures by Reference -- Passing Arrays of Structures -- Unions -- Type Casting -- Chapter Program-Card Shuffle -- Summary -- Challenges -- Chapter 10 DYNAMIC MEMORY ALLOCATION -- Memory Concepts Continued -- Stack and Heap -- sizeof -- malloc() -- Managing Strings with malloc() -- Freeing Memory -- Working with Memory Segments -- calloc() and realloc() -- Chapter Program-Math Quiz -- Summary -- Challenges -- Chapter 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-The Phone Book Program -- Summary -- Challenges -- Chapter 12 THE C PREPROCESSOR -- Introduction to the C Preprocessor -- Symbolic Constants -- Creating and Using Macros -- Building Larger Programs -- Header File -- Function Definition File -- main() Function File -- Pulling It all Together -- Chapter Program-The Function Wizard -- ch12_calculate.h -- ch12_calculate.c -- ch12_main.c -- Summary -- Challenges -- What's Next? -- Appendix A: COMMON UNIX COMMANDS -- Appendix B: VIM QUICK GUIDE -- Appendix C: NANO QUICK GUIDE -- Appendix D: COMMON ASCII CHARACTER CODES -- Appendix E: COMMON C LIBRARY FUNCTIONS -- INDEX -- A -- B -- C -- D -- E -- F -- G -- H -- I -- K -- L -- M -- N -- O -- P -- Q -- R -- S -- T -- U -- V -- W -- X -- 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