Tag Archives: C

Zamansky Live Codes Advent of Code 2016 #2

Mike Zamansky who is, after all, a teacher, demonstrates his coding technique by live coding the second exercise in the 2016 Advent of Code. He is coding in C++ because that’s what he’s teaching at the moment but even if, … Continue reading

Posted in Programming | Tagged , | Leave a comment

A C/C++ Development Environment

It seems odd to me that people keep asking for C/C++ environments for Emacs. Odd because you'd think this would have settled years ago. I'm guessing that this is mostly about having an IDE environment, like Eclipse, for C++. A … Continue reading

Posted in General | Tagged , | Leave a comment

C: Reports of my Death Have Been Greatly Exaggerated

If you cruise along the technical byways of the Internet, you might conclude that the C language is dead. Hardly anyone will admit to writing in it and it's most often dismissed as old and crufty, a dinosaur language even. … Continue reading

Posted in Programming | Tagged | Leave a comment

Packing C Structures

I'm writing this on my MacBook Pro, a small, light-weight laptop that has 16 GB of memory. Nothing I do on it ever runs out of memory. It wasn't always that way, of course. Bill Gates famously quipped that he … Continue reading

Posted in Programming | Tagged | Leave a comment

An Overview of C

I spent so many years writing C code that I still tend to “think” in C when considering an algorithm. That's true even when, as is mostly the case now, I'm going to write the algorithm in Lisp. A lot … Continue reading

Posted in Programming | Tagged | Leave a comment

A GDB Tutorial

Before coming to Lisp, I spent many many years writing C code. Despite the disrepute that C has fallen into with some of those damn kids playing on my lawn, I think it's a really great language for the problems … Continue reading

Posted in Programming | Tagged | 2 Comments

C++

The funniest—or is it saddest—thing I've read about C++ in a long time.

Posted in Programming | Tagged | Leave a comment

C++ Craziness

If someone asked you to write a C++ program to output the squares of the numbers from 0 to 9, what would it look like? Vivek Haldar, whose work I've cited approvingly several times (1, 2, 3), has an answer. … Continue reading

Posted in Programming | Tagged | Leave a comment

Mean!

This is just mean. Mean, but funny. It's also awe-inspiring in the same disturbing way that someone who memorizes the Boston phone directory is.

Posted in Programming | Tagged | Leave a comment