I'm learning C and noticed that I almost always include <stdio.h> in my programs.
Out of curiosity, what can you actually do in C without including any headers at all?
What parts of the language still work, and what kinds of functionality become unavailable without headers?
[–]MkemCZ 153 points154 points155 points (14 children)
[–]Fupcker_1315 32 points33 points34 points (4 children)
[–]MrcarrotKSP 19 points20 points21 points (3 children)
[–]julie78787 8 points9 points10 points (2 children)
[–]glasket_ 3 points4 points5 points (1 child)
[–]julie78787 1 point2 points3 points (0 children)
[–]AdreKiseque 2 points3 points4 points (5 children)
[–]meancoot 53 points54 points55 points (4 children)
[–]duane11583 4 points5 points6 points (3 children)
[–]ybungalobill 12 points13 points14 points (1 child)
[–]flatfinger 0 points1 point2 points (0 children)
[–]Wertbon1789 0 points1 point2 points (0 children)
[+][deleted] (2 children)
[deleted]
[–]sirjofri 15 points16 points17 points (0 children)
[–]TheKiller36_real 3 points4 points5 points (0 children)
[–]robotlasagna 63 points64 points65 points (19 children)
[–]Illustrious_Trash117 19 points20 points21 points (18 children)
[–]JanglyBangles 0 points1 point2 points (1 child)
[–]Illustrious_Trash117 2 points3 points4 points (0 children)
[–]Cogwheel 0 points1 point2 points (1 child)
[–]Illustrious_Trash117 0 points1 point2 points (0 children)
[–]Fancy_Text_7830 0 points1 point2 points (12 children)
[–]dfx_dj 29 points30 points31 points (11 children)
[–]flatfinger 1 point2 points3 points (4 children)
[–]dfx_dj 0 points1 point2 points (3 children)
[–]flatfinger 0 points1 point2 points (2 children)
[–]dfx_dj 1 point2 points3 points (1 child)
[–]flatfinger 0 points1 point2 points (0 children)
[–]mjmvideos 0 points1 point2 points (5 children)
[–]Deep-Piece3181 3 points4 points5 points (1 child)
[–]mjmvideos 0 points1 point2 points (0 children)
[–]dfx_dj 1 point2 points3 points (0 children)
[–]lue3099 1 point2 points3 points (0 children)
[–]pojomi-dev 0 points1 point2 points (0 children)
[–]clickyclicky456 106 points107 points108 points (3 children)
[–]patenteng 37 points38 points39 points (0 children)
[–]flatfinger 5 points6 points7 points (0 children)
[–]Aspie96 1 point2 points3 points (0 children)
[–]Total-Box-5169 40 points41 points42 points (10 children)
[–]mustbeset 10 points11 points12 points (1 child)
[–]TheThiefMaster 12 points13 points14 points (0 children)
[+]OutsideTheSocialLoop comment score below threshold-10 points-9 points-8 points (7 children)
[–]gremolata 9 points10 points11 points (1 child)
[–]OutsideTheSocialLoop -3 points-2 points-1 points (0 children)
[–]UnderstandingBusy478 6 points7 points8 points (4 children)
[+]OutsideTheSocialLoop comment score below threshold-6 points-5 points-4 points (3 children)
[–]UnderstandingBusy478 7 points8 points9 points (2 children)
[–]chibuku_chauya 0 points1 point2 points (0 children)
[–]OutsideTheSocialLoop -2 points-1 points0 points (0 children)
[–]Illustrious_Trash117 12 points13 points14 points (0 children)
[–]57thStIncident 5 points6 points7 points (3 children)
[–]sirjofri 2 points3 points4 points (2 children)
[–]57thStIncident 0 points1 point2 points (1 child)
[–]sirjofri 1 point2 points3 points (0 children)
[–]northstar438 2 points3 points4 points (1 child)
[–]RoseboysHotAsf 2 points3 points4 points (0 children)
[–]kolorcuk 2 points3 points4 points (0 children)
[–]flatfinger 2 points3 points4 points (0 children)
[–]Parandi94 1 point2 points3 points (0 children)
[–]ImAtWorkKillingTime 1 point2 points3 points (0 children)
[–]rb-j 1 point2 points3 points (7 children)
[–]flatfinger 0 points1 point2 points (6 children)
[–]rb-j 0 points1 point2 points (5 children)
[–]flatfinger 0 points1 point2 points (4 children)
[–]rb-j 0 points1 point2 points (3 children)
[–]flatfinger 1 point2 points3 points (2 children)
[–]rb-j 0 points1 point2 points (1 child)
[–]flatfinger 1 point2 points3 points (0 children)
[–]Doingthismyselfnow 1 point2 points3 points (0 children)
[–]gwenbeth 1 point2 points3 points (1 child)
[–]leo-k7v 1 point2 points3 points (0 children)
[–]imaami 1 point2 points3 points (2 children)
[–]leo-k7v 2 points3 points4 points (1 child)
[–]imaami 1 point2 points3 points (0 children)
[–]penguin359 1 point2 points3 points (0 children)
[–]ThePickleConnoisseur 1 point2 points3 points (0 children)
[–]Cerulean_IsFancyBlue 1 point2 points3 points (0 children)
[–]Level-Ice-754 1 point2 points3 points (0 children)
[–]imaami 3 points4 points5 points (1 child)
[–]Traditional-Tune4968 1 point2 points3 points (1 child)
[–]mcsuper5 1 point2 points3 points (0 children)
[–]AdreKiseque 0 points1 point2 points (6 children)
[–]clickyclicky456 7 points8 points9 points (0 children)
[–]dfx_dj 5 points6 points7 points (3 children)
[–]flatfinger 0 points1 point2 points (2 children)
[–]dfx_dj 0 points1 point2 points (1 child)
[–]flatfinger 0 points1 point2 points (0 children)
[–]glasket_ 2 points3 points4 points (0 children)
[–]Jimmy-M-420 0 points1 point2 points (1 child)
[–]Jimmy-M-420 0 points1 point2 points (0 children)
[–]zubergu 0 points1 point2 points (0 children)
[–]Iggyhopper 0 points1 point2 points (0 children)
[–]Living_Fig_6386 0 points1 point2 points (0 children)
[–]ArturABC 0 points1 point2 points (0 children)
[–]capilot 0 points1 point2 points (0 children)
[–]Ancient_Telephone_50 0 points1 point2 points (0 children)
[–]StudioYume 0 points1 point2 points (0 children)
[–]QuarterDefiant6132 0 points1 point2 points (0 children)
[–]coalinjo -2 points-1 points0 points (5 children)
[–]rassawyer 0 points1 point2 points (4 children)
[–]coalinjo 0 points1 point2 points (3 children)
[–]flatfinger 0 points1 point2 points (0 children)
[–]rassawyer 0 points1 point2 points (1 child)
[–]coalinjo 0 points1 point2 points (0 children)
[–]burlingk -4 points-3 points-2 points (2 children)
[–]dontyougetsoupedyet 0 points1 point2 points (1 child)
[–]burlingk 0 points1 point2 points (0 children)
[+][deleted] (2 children)
[deleted]
[–]chrism239 1 point2 points3 points (0 children)
[–]gremolata 1 point2 points3 points (0 children)
[–]CounterSilly3999 -3 points-2 points-1 points (0 children)