Some of the most useful constants and types defined throughout the library are described here. These include types that maintain their exact width across platforms, plus the bool type and the true and false macros.
- [Instructor] Let's get to know some of the most useful…constants and types defined…throughout the C standard library.…Let's start with Null.…This is a constant defined as a macro…in a number of header files.…It's the standard constant used…to represent the null pointer…and its actual value depends on…the underlying architecture, but it's usually zero.…File is a data type used as a handle…for input, output streams.…Admittedly, a more accurate name for this type…would be Stream, but maybe it was named File…because files are accessed through character streams.…
Fpos_t is a type used to keep track of the current…position in an open file that's being read or written to.…Both types are defined in <stdio.h>.…Stdin, stdout and stderr…are constant macros defined in <stdio.h>.…These are pointer constants…associated with three character streams.…Stdin for console input, stdout for console output,…and stderr for error reporting.…
EOF is a constant macro defined in <stdio.h>.…It stands for end of file, but it's sometimes used…
- 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.