3 ms·
Looks like building a wiki is becoming the modern "hello world!"
by jhrobert 16y ago
Looks like building a wiki is becoming the modern "hello world!"
- simonsarris 16y agoWell, I sincerely hope no "hello world!" ever needs to pull libraries.
- joshwa 16y ago#include <stdio.h>
- burgerbrain 16y agoGet off my lawn! In my day, we coded straight in hex, because we couldn't trust assemblers to properly align instructions on the drum memory! -mel
- chc 16y agoIn fairness, that's just including the function prototypes. You don't need to explicitly link in libc most of the time.
- jrockway 16y agoBut it's being implicitly linked in, so what's your point?
- chc 16y agoThe point is that it's already included unless you specifically exclude it. If we take "pull" as a volitional action rather than a passive allowance, then we don't need to "pull" any libraries. I'm really just playing devil's advocate here (which is why I prefaced it with "To be fair…"). From the considerable amount of hate (rather than calm dismissal) the comment seemed to be getting, I felt that people weren't bothering to think it through. joshwa's response seemed to indicate that "#include <stdio.h>" was pulling in a library, which is at least as wrong.