JLospinoso / ccc

Companion Code for C++ Crash Course
https://ccc.codes
GNU General Public License v3.0
377 stars 105 forks source link

Page 18, last paragraph #205

Closed alfredmyers closed 1 year ago

alfredmyers commented 2 years ago

Where read:

For example, the format specifier for an int is %d.

Should read:

For example, the decimal notation format specifier for an int is %d.


For the purpose of making my point: Other format specifiers for int are %o, %X, %x for respectively octal, upper-case hexadecimal and lower-case hexadecimal.

JLospinoso commented 1 year ago

Thanks!