Coding in C (Visit Days, March 2011)

Coding in C (Visit Days, March 2011)


Got a segfault! And you’re to blame, darling Coding in C is a damn shame Why use bools when you have bits Love that pointer arithmetic Save some time with ++i One dangling pointer, kiss my program goodbye Whoa, it’s off by one Whoa, my program won’t run And nothing will tell me if damage was done Got a segfault! And you’re to blame, darling Coding in C is a damn shame At least it halts… that’s not much to claim Coding in C is a damn shame Start each file with pound ifndef I still don’t know how to use printf Should I use a union or a struct? If I make the wrong choice then I will be ?!?! Whoa, need efficiency Hold your breath and run gcc And please don’t compile with -O3

One thought to “Coding in C (Visit Days, March 2011)”

Leave a Reply

Your email address will not be published. Required fields are marked *