Posts

Showing posts with the label character codes

C: Print number of non-printable chars, printable chars, total char code...

Image
Refactor of previous program: https://youtu.be/pILnYM-qYB0 Display number of non-printable, printable, and total chars output by the program. Git repo: https://github.com/pereiradaniel/beginning_c/blob/master/ch4/exercises/4_3/refactor3.c

C: Refactored character code table printer.

Image
Refactored version of previous program: https://youtu.be/W8me8An2fA4 Extend the previous program to output the appropriate name, such as “newline”, “space”, “tab”, and so on, for each whitespace character. Git repo: https://github.com/pereiradaniel/beginning_c/blob/master/ch4/exercises/4_3/exercise4_3.c

C: Print character codes in a table.

Image
A program that will output the printable characters for character code values from 0 to 127. Each character code is printed along with its symbol. Make sure the columns are aligned. UPGRADES to original exericse!      - User selects between 1-8 columns to display.      - CHAR_MAX to control upper limit of char codes. Git repo: https://github.com/pereiradaniel/beginning_c/blob/master/ch4/exercises/4_2/exercise4_2.c