C programming: pocket primer
Oswald Campesato
- Resource Type:
- E-Book
- Publication:
- Dulles, Virginia : Mercury Learning and Information, [2019]
Availability
Location | Call Number | Availability | Request | Notes |
---|---|---|---|---|
QA76.73.C15 C35 2019eb | Checking availability |
Single User Access |
More Details
- Summary:
- As part of the Pocket Primer series, this book provides an overview of the major concepts to program in the language of C. Companion files with source code from the book and figures are included. FEATURES:Provides an overview of the most important C programming techniquesCovers up-to-date information regarding the C11 standardIncludes two chapters on pointersContains companion files with source code from the book eBook Customers: Companion files are available for downloading with order number/proof of purchase by writing to the publisher at info@merclearning.com.
- Table of Contents:
- Machine generated contents note: ch. 1 Introduction to C
- Command Line Tools
- gcc Compiler
- Useful Switches for the gcc Command (optional)
- lint-related Utilities (optional)
- Editors and IDEs
- What is C?
- What is Special About C?
- Major Revisions to C
- High-Level View of C Programs
- Structure of C Programs
- Coding Guidelines
- Keywords in C
- Hello World Program in C
- C Header Files and Libraries
- Valid Syntax for the main () Function
- C Program Syntax
- Compiling C Programs
- Variable Names in C
- Assignment Statements
- Indentation and Code Format
- print f() Function
- Data Types in C
- size of () Operator in C
- Operators in C
- Arithmetic Operators
- Increment/Decrement Operators
- Ternary Operator
- Calculating Ceiling and Floor Values
- Calculating Absolute Values
- Calculating Trigonometric Values in C.;
- Working with Different Bases in C
- Working with the char Type in C
- What are C Arrays?
- Adding the Numbers in an Array
- Summary
- ch. 2 Conditional Logic and Simple Tasks
- Comments in C Programs
- Simple Conditional Logic
- Conditional Logic with Logical Errors
- Arithmetic Operators and Conditional Logic
- Compound if-else Statements
- What is "Short Circuiting"?
- Ranking Numbers with if-else Statements
- Sequential if Statements
- Nested if-else Statements
- Scope of Variables in C
- Global Variables in C Programs
- Global Versus Local Variables
- Type Casting in C
- Integer Promotion
- strcpy () and strncpy () Functions in C
- Strings and String-related Functions
- strcpy () Function
- Handling User Input in C
- getchar () &putchar() Functions: Single Character Functions
- scanf () and printf () Functions: Multiple Characters
- C11 Compliance
- Checking for C11 Compliance
- What about C17 Compliance?
- fgets () Function (C11 Compliant)
- gets () Function (not C11 Compliant)
- Reading a Single Character from the Command Line
- Reading an Unformatted Line from the Command Line
- Reading a Formatted Line from the Command Line
- Behavior of the scanf () Function (optional)
- Reading Multiple Strings from the Command Line
- User Input for Numeric Calculations
- Stdin, Stdout, and Stderr
- Summary
- ch. 3 Loops and Arrays
- Working with for Loops
- Working with Break and Continue in for Loops
- Checking for Leap Years
- Checking Alphabetic Types
- Counting Uppercase and Lowercase Characters
- Checking Character Types
- Working with Arrays
- Initializing Arrays
- Array Values
- C Functions and Arrays
- Multi-Dimensional Arrays
- Calculating the Transpose of a Square Matrix
- Linear Search in Arrays
- Reversing an Array of Numbers
- Finding the Maximum and Minimum in Arrays
- Deleting an Element from an Array
- Strings and for Loops
- Counting Words in a Line of Text
- Working with Nested for Loops
- Working with while Loops
- Reading an Entire Line from the Command Line
- switch Statement
- Working with Arrays of Numbers
- Working with Arrays of Strings
- Using a while loop to Find the Divisors of a Number
- Using a while loop to Find Prime Numbers
- Summary
- ch. 4 Functions in C
- Working with Built-in Functions in C
- Pass by Reference versus Pass by Value
- Built-in Character Functions
- Converting Between Data Types
- Defining a Simple Custom Function
- Function Prototypes
- Function Parameters in C Functions
- C99 Syntax for User-Defined Functions in C
- K&R Style Function Definitions
- Converting Strings to Integers and Float Values
- Printing a String to a Buffer with sprintf ()
- Buffer Manipulation Functions
- Passing a One-Dimensional Array as an Argument
- Finding a Character in a String
- Converting Strings to Decimal Values
- Display a List of Prime Numbers
- What is Recursion?
- Calculating Factorial Values
- Calculating Fibonacci Numbers via Recursion
- Calculating the Power of a Number via Recursion
- Calculating the Number of Digits of a Number via Recursion
- Calculating the Sum of the Digits of a Number via Recursion
- Calculating the GCD of Two Numbers via Recursion
- Calculating the LCM of Two Numbers via Recursion
- Summary
- ch. 5 Working with Pointers in C
- What are Pointers?
- Simple Examples of Pointers
- Const Pointers
- Pointers to Integer Variables
- Multiple Pointers and Integer Variables
- Pointers and Character Strings
- Displaying Substrings of a String
- Display Command Line Arguments in C
- Incrementing Pointers: Memory Location Versus Value
- Pointers and Arrays
- Pointers, Arrays, and Addresses
- Pointer Arithmetic
- Calculating the Transpose of a Square Matrix
- Pointers and Strings
- Pointers and Built-in String Manipulation Functions
- While Loops and Pointers to Strings
- Counting Vowels and Consonants in a Text String
- Finding a Word in a Text String in C
- Searching a Word in a Text String in C
- Concatenating Two Strings in C
- Summary
- ch. 6 Working with Pointers
- Comparing Two Strings in C
- Using strtok () to Tokenize a String
- Pointers, Strings, and Palindromes
- Pass by Reference Versus Value
- Pass an Array by Pointer
- for Loop with Pointers to Numbers
- Pointers, Loops, and Divisors of a Number
- Pointers and Arrays of Numbers
- Array of Pointers
- Pointers and Functions
- Pointers and Arrays of Decimals
- "Reversing" an Array of Numbers
- Memory Allocation Functions in C
- Built-in malloc () C Function
- Jagged Arrays
- User Input, Pointers, malloc (), and free ()
- Heap versus Stack
- Uppercase and Lowercase Strings in C
- Reversing a String
- Finding Uppercase and Lowercase Letters
- Removing Whitespaces from a String
- Pointers, Strings, and Character Counts
- Pointers to Functions of Type Void
- Pointers to Non-Void Functions
- Function Pointers as Arguments
- Pointers to Pointers
- Summary
- ch. 7 Miscellaneous Topics
- Symbolic Constants
- Working with Macros in C
- Other Operators in C
- Bitwise Operators
- Logical Operators
- Comma Operator
- Cumulative Code Sample
- Bubble Sort Algorithm
- What is a C Struct?
- Example of a C struct
- Pointer to a C Struct
- Nested C Structs
- Array of C Structs
- strf time () and strptime () Functions with Dates (optional)
- Singly Linked Lists in C (optional)
- Unions in C
- Combining a union and a struct in C
- Bitfields in C
- Display Environment Variables in C
- Set Environment Variables in C
- Storage Class Specifiers in C
- How Write Complex Code with Pointers
- Error Handling in C
- errno Global Variable
- perror() and strerror () Functions
- How to Exit from an Error
- System Calls in C (optional)
- Removing a File
- Listing the Files in a Directory
- Defining Custom Functions in Multiple Files (optional)
- Standard Header Files and Libraries
- Standard Header Files (Unix-like Systems)
- Commonly Used Header Files
- Standard Libraries
- Summary
- What is the make Utility?
- What is in Makefile?
- Useful Unix Commands for Libraries
- Examples of the ar Command
- ranlib Command
- nm Command
- Some Simple Makefiles
- Makefile for C Programs
- Big Make and Little Make
- Makefile with Macros
- Makefile with Standard Targets
- Command Line Switches for Makefiles
- How do Makefiles Work?
- Multiple Source Files and the make Utility
- Macros for Multiple C Files
- Other Macros in Makefiles
- Automatic Variables
- Creating Multiple Executables in a Makefile
- Other Types of Targets inaMakefile
- Specifying Headers and Libraries in a Makefile
- Specifying Libraries
- Dummy Targets in a Makefile
- Including a Makefile in Another Makefile
- Creating a Library Archive from Object Files
- Creating an Archive Library in a Shell Script
- Summary.
- Author/Creator:
- Campesato, Oswald , author
- Languages:
- English
- Language Notes:
- Item content: English
- Subjects:
- General Notes:
- Includes index.
Description based on: Online resource; title from PDF title page (EBSCO, viewed February 21, 2019). - Physical Description:
- 1 online resource
- Digital Characteristics:
- text file
- Call Numbers:
- QA76.73.C15 C35 2019eb
- ISBNs:
- 1683923901 (electronic bk.)
9781683923909 (electronic bk.)
9781683923893 (electronic bk.)
1683923898 (electronic bk.)
168392388X [Invalid]
9781683923886 [Invalid] - OCLC Numbers:
- 1081432954
- Other Control Numbers:
- 1994171 (source: EbpS)
[Unknown Type]: ybp15958828