[hide]it really is amazing.[/hide]

const's at file scope have external linkage by default in C99 In C++ they have internal linkage!…

I'd like a half stack of bananacakes, please!

I definitely second "K&R" for learning <i>The C Programming Language</i>. Tour of…

Thanks for the replies. I tried the commands from the first the stackOverflow link: 1 2netsh wi…

use const for everything. variables are overrated.

Hi! You can see examples of the first Platform API shown by Casey in SDL and cocos2dx code. SDL…

Bob Nystrom wrote a series of articles at http://gameprogrammingpatterns.com/ about some ways to …
Stefan Koch  — 3 years, 4 months

My Quick tip would be : use mingw.

Thanks for your excellent responses I will check out those texts. What I was having some problem…

Hello I have a question about distributing C programs: What is the best way to guarantee that a …

I think it's a great thing you are dooing. Thumbs up!

May the variable be with you.

Handmade Penguin is a tutorial for porting Handmade Hero to Linux using the SDL library. I thoug…

Yes, __rdtsc() is available for gcc. You just need to do #include <x86intrin.h>

sizeof('a') is 4 in C, but 1 in C++
Casey Muratori  — 3 years, 4 months

The game, like the series, is also called Handmade Hero :) And yes, this is a forum for talking …

That doesn't sound like something you should have to do. I don't use GCC anymore, but on LLVM yo…

Although I'm not a spec wrangler myself, my understanding is there are definitely a number of the…

As a sidenote, compilers like LLVM also allow you do to this - if you use an enum for the switch,…

My understanding was that the C++ Committee is still hotly debating whether or not variables are …

I heard there will be The Variable in C++17 is it true?

Oh no no no, my friend. Javascript has variables, if you want them to be variables. You can eve…

Totally tangentially, one of the features that I enjoy in D (the programming language) is "final …

I'll be honest, I knew that this topic was going to be excellent from the title, but I didn't exp…

Very interesting article. Goes to show that you should never just assume that your mental model o…

This is another presentation by Jonathan Blow which I found quite interesting: Implementing rewin…

I think this is the quickest way to tell if you're using a C compiler or a C++ compiler: 1int cl…

For C++ the recommended books would be A Tour of C++ by Bjarne Stroustrup and Effective Modern C+…
Tod Hansmann  — 3 years, 4 months

Don't fight Windows until you know its patterns of behavior/expectations well enough to manipulat…