-
Notifications
You must be signed in to change notification settings - Fork 6
integer types use #21
Copy link
Copy link
Open
Description
Add a module on when to use size_t and when other integer types.
E.g. https://stackoverflow.com/questions/131803/unsigned-int-vs-size-t
Plus examples on working with file offset (seek, read, write, ...), etc.
The size_t type is the unsigned integer type that is the result of the sizeof
operator (and the offsetof operator), so it is guaranteed to be big enough to
contain the size of the biggest object your system can handle (e.g., a static
array of 8Gb).
Also add an idea to use 'u' for an unsigned integer in for
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels