We are currently in the process of converting the website to the new design. Some pages, like this one, are still broken. We appreciate your patience.
Sagar
On every frame, the variable tSine is incremented. After a while, won't we have issues with precis…
»
»
ben
's at file scope have external linkage by default in C99 In C++ they have linkage! (i.e. declarin…
»
Mike T
I'd like a half stack of bananacakes, please!
»
Dustin P. W. Henry
I definitely second "K&R" for learning The C Programming Language. Tour of C++ comes highly…
»
Simon Anciaux
Thanks for the replies. I tried the commands from the first the stackOverflow link: It fixes both…
»
James Jackson
use const for everything. variables are overrated.
»
David Roguin
Hi! You can see examples of the first Platform API shown by Casey in SDL and cocos2dx code. SDL ha…
»
Sam Atkins
Bob Nystrom wrote a series of articles at about some ways to structure code specifically in games…
»
Stefan Koch
My Quick tip would be : use mingw.
»
Albert R Cowie
Thanks for your excellent responses I will check out those texts. What I was having some problems…
»
Bert Proesmans
Hello I have a question about distributing C programs: What is the best way to guarantee that a co…
»
Stefan Koch
I think it's a great thing you are dooing. Thumbs up!
»
Marco
May the variable be with you.
»
David Gow
is a tutorial for porting Handmade Hero to Linux using the SDL library. I thought this thread mig…
»
Mārtiņš Možeiko
Yes, __rdtsc() is available for gcc. You just need to do #include
»
Mārtiņš Možeiko
sizeof('a') is 4 in C, but 1 in C++
»
Casey Muratori
The game, like the series, is also called Handmade Hero :) And yes, this is a forum for talking a…
»
Casey Muratori
That doesn't sound like something you should have to do. I don't use GCC anymore, but on LLVM you…
»
Casey Muratori
Although I'm not a spec wrangler myself, my understanding is there are definitely a number of thes…
»
Casey Muratori
As a sidenote, compilers like LLVM also allow you do to this - if you use an enum for the switch, …
»
Casey Muratori
My understanding was that the C++ Committee is still hotly debating whether or not variables are i…
»
AndrewJDR
I heard there will be The Variable in C++17 is it true?
»
Tod Hansmann
Oh no no no, my friend. Javascript has variables, if you want them to be variables. You can even…
»
Neil Blakey-Milner
Totally tangentially, one of the features that I enjoy in D (the programming language) is "final s…
»
John Hyde
I'll be honest, I knew that this topic was going to be excellent from the title, but I didn't expe…
»
Johan Öfverstedt
Very interesting article. Goes to show that you should never just assume that your mental model of…
»
Johan Öfverstedt
This is another presentation by Jonathan Blow which I found quite interesting: If you want to see…
»
Andrew Bromage
I think this is the quickest way to tell if you're using a C compiler or a C++ compiler:
»
Neo Ar
For C++ the recommended books would be A Tour of C++ by Bjarne Stroustrup and Effective Modern C++…
»