Here, the instructor exposes an overview of the header files provided in the C standard library, with a brief description of their content.
- [Instructor] The C Standard Library API is distributed in several header files. It has macro type and function definitions for a wide variety of applications. All of this material is distributed in more than 25 header files. Since my objective is to get you acquainted with the library, we will only cover some of those header files and just part of their contents. Let's take a look at some of these header files. <stdint.h> contains definitions and constants related to different types of integer numbers.
<stdio.h> contains functions for handling files and input/output streams. <stdlib.h> contains a variety of utility functions like memory management, string conversion and random number generation. <string.h> not surprisingly, provides string handling functions. <math.h> contains popular mathematical operations like trigonometric and explanation functions. <stdbool.h> implements the boolean type, which was not originally a built in type in the C programming language.
<stdarg.h> allows the programmer to create functions with a variatic set of parameters. That is like print F which accepts as many arguments as needed. <stdatomic.h> implements atomic operations which are required in concurrent execution environments like multi-processor or multi-threading systems. <threads.h> provides the means necessary to implement multi-threading. And <assert.h> enables the programmer to implement assertions which are arrow detecting constructs.
This list is by no means complete and I encourage you to always consult a formal reference like https://en.cppreference.com for the specifics.
- Working with header files
- C constants and types
- Unformatted and formatted input/output
- Accessing files with C functions
- Generating random numbers
- Converting strings
- Sorting and searching for data
- Manipulating strings
- Using mathematical functions
Skill Level Intermediate
1. The C Standard Library
2. Input and Output Library: stdio.h
3. General Purpose: stdlib.h
4. String Functions: string.h
5. Mathematical Functions: math.h
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.