PROJECT DOSSIER // [C POOL — DAY 03]VIEW SOURCEBACK TO PROJECTS →

01 // PROJECT AT A GLANCE

C POOL — DAY 03

C

Writing your very first lines of C, with a single function allowed.

This is the day you actually program. The constraint is radical: the only output function allowed is the one that writes a single character to the screen. Everything else — printing a word, a number, a combination — has to be rebuilt by hand. Frustrating at first, and extremely formative: you come to understand what really sits underneath every function you will use later.

C exercises delivered file by file: loops, conditionals, arithmetic and combination generation, with my_putchar as the only output primitive.

PRIMARYC
DELIVERYTEAM RECORD
VERIFICATIONgcc/g++
SOURCEINSPECTOR READY
MEDIA ATTACHMENTS (Images, Photos, Videos)

03 // KEY OUTCOMES

  • Rebuilding everything from a single output primitive, with no array and no string
  • Three nested loops to enumerate the increasing combinations of three distinct digits
  • Handling the last separator of a list without being able to store it (the 789 special case in my_print_comb.c)

04 // SOURCE TREE

READING SOURCE…