
Just Enough C/C++ Programming.
Title:
Just Enough C/C++ Programming.
Author:
Lecky-Thompson, Guy W.
ISBN:
9781598636468
Personal Author:
Physical Description:
1 online resource (397 pages)
Contents:
Contents -- Introduction -- Chapter 1 Getting Started -- Conventions Used in This Book -- How to Use This Book -- Study Areas -- Reference -- Choosing the Right Tools -- Editor -- Compiler and Linker -- Debugger -- Inside Your Computer -- Using Open Source Resources -- Recap -- Chapter 2 Programming Recap -- What Is Programming? -- Programming, Testing, and Debugging -- Procedural Programming -- Program Flow -- Data Storage -- Parts of a Language -- Compiling and Linking -- Executable File Format -- External Files (Header Files) -- Recap -- Chapter 3 C Program Structure -- The Entry and Exit Points -- Declaring Variables -- Operators, Comparison, and Precedence -- Operators -- Comparing Values -- Precedence -- Containing Code Blocks -- Variable Scoping -- Comments -- Defining Functions -- Building the Application -- If the Application Fails to Build -- Recap -- Chapter 4 Data Types and Variables -- Basic Types -- Sizes and Ranges -- Complex Data Types -- Casting -- Arrays -- Enumerated Types -- Data Types and Variables -- Recap -- Chapter 5 Console I/O -- Formatted Output -- Using printf -- Using sprintf -- Formatted Input -- Using scanf -- Using sscanf -- Non-Formatted I/O -- Character Processing -- String Processing -- Recap -- Chapter 6 Decision Making -- The Basic if Statement -- Compound Condition Statements -- The else Keyword -- Using else if -- Nesting -- The switch Statement -- Recap -- Chapter 7 Loops -- The for Loop -- The while Loop -- More do and while -- Using break and continue -- Nesting Loops -- Scoping Revisited -- Recap -- Chapter 8 Standard Libraries -- Standard I/O: stdio.h -- String Handling: string.h -- Math Functions: math.h -- Memory Handling: malloc.h -- The Standard Library: stdlib.h -- The Time Library: time.h -- Recap -- Chapter 9 Command-Line Processing -- The argv and argc Variables -- Processing the Command Line.
Conditional Execution -- Reporting Parameter Errors -- Adding a Debug Flag -- Displaying Help -- Recap -- Chapter 10 User-Defined Functions -- Declaring Functions -- Prototyping -- Libraries and Linking -- Function Parameter Lists -- Passing by Value -- Passing by Reference -- Recursion -- Recap -- Chapter 11 File I/O -- Formatted I/O Revisited -- Fully Qualified Pathnames -- Using fprintf -- Using fscanf -- Using fprintf and scanf Together -- Unformatted I/O Revisited -- Using Single Character I/O -- Using Line-Based Multicharacter I/O -- Binary Input and Output -- Using fread and fwrite -- Directory Management -- Creating and Deleting Directories -- Renaming and Deleting Files -- Searching for Files and Directories -- Recap -- Chapter 12 Complex Data Types -- The struct and union Keywords -- The struct Keyword -- The union Keyword -- Accessing Data -- Accessing Data in unions -- File Processing with Complex Data Types -- File Processing with unions -- Recap -- Chapter 13 Pointers -- Strings Revisited -- Pointers and References -- Dereferencing -- Pointers and Memory -- Example: A Linked List of Command-Line Arguments -- Creating the Linked List -- Destroying the List -- Recap -- Chapter 14 Pre-Processor Directives -- The Pre-Processor Concept -- The #include Directive -- The #define Directive -- Avoiding Multiple Includes -- Using Pre-Processor Directives for Debugging -- C-Style Macros -- Conditional Compilation with #if -- Recap -- Chapter 15 Program Design in C and C++ -- Object-Oriented Design -- The Problem Domain -- Encapsulation and Messages -- A Simple Example: Text Editor -- Object-Oriented Programming -- Classes -- Prototyping Revisited -- C++ Header Files -- C++ Source Files -- Recap -- Chapter 16 C++ in Practice -- Differences in Code Organization -- Declarations -- Scope -- New Operators and Features -- Defining Classes -- Constructors.
Destructors -- Example: A Linked List of Command-Line Arguments (Revisited) -- Inheritance and Polymorphism -- Overloading -- Exception Handling -- Recap -- Chapter 17 C++ Standard Libraries -- Introduction to the C++ Libraries -- The C Language Library -- Using Namespaces -- IO Libraries -- Stream Classes -- Manipulators -- Base Class Functionality -- File Access with iostream -- String Libraries -- Recap -- Chapter 18 Templates and the STL -- Templates -- Template Functions -- Template Classes -- The STL -- STL Containers -- STL Algorithms -- STL Headers -- Container Classes -- Algorithms -- Iterators -- User-Defined Classes and the using Keyword -- Recap -- Chapter 19 Where Next? -- Programming for Reuse -- Reuse in Design -- Reuse in C Programming -- Reuse in C++ Programming -- Open Source and Glue Code -- Chapter 20 Web References -- Compilers -- Linux -- TheFreeCountry.com -- Microsoft -- Borland -- Apple Macintosh -- Source Code -- The Code Project -- SourceForge -- C and C++ Programming -- C/C++ at About.com -- The C++ Resources Network -- Cprogramming.com -- The C Programming Language Wikipedia Entry -- Programming User Groups -- 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.
Genre:
Electronic Access:
Click to View