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.
Ben —
It's supposed to make things faster. Although, C++ compilers take significantly longer than C comp…
»
Ben —
Some people avoid typedef struct in C because it pollutes the namespace. OP: by 'modern' ANSI C do…
»
Ben —
LCTHW is supposedly full of bugs. I recommend C Programming: A Modern Approach.
»
Ben —
BTW, xcb is autogenerated from protocol definitions. Also, it only applies to X. If you use waylan…
»
Casey Muratori —
In games it's pretty typical for nearly all strings to fall into two broad categories, both of whi…
»
Casey Muratori —
Unfortunately I do not actually have a copy of Photoshop so I don't know. I use GIMP to load the …
»
Ameen Sayegh —
what ?! Is Ads Considered a good thing ? I see of ads company as the most greedy annoying irritati…
»
Ameen Sayegh —
I'm trying to get Photoshop to output 32-bit A8R8G8B8 bitmaps with no success basically I have an …
»
popcorn —
Thanks, I have learned how to do it the C++ and not the C way. I didn't know this.
»
Mārtiņš Možeiko —
You can write such code ONLY if Sprite is C struct, not C++ class (or more accurately - structure…
»
popcorn —
So I guess I can't mix them? I don't even know if I am... chunkOfMemory = new char[1024*9000]; spr…
»
Mārtiņš Možeiko —
What? new and malloc doesn't create any smart pointer. Just a regular C++ or C pointer which you n…
»
popcorn —
Grr so when I do a new or alloc or malloc or whatever, it marks it as a "smart" pointer. So someho…
»
Christian Jacob —
I don't know if this has been covered yet. Since I am only at episode 10 it could most probably ha…
»
Mārtiņš Možeiko —
Send an e-mail to Casey (casey (at) mollyrocket.com), he'll help you get your download link.
»
Edu Tarascon —
Hi guys, I purchased the game several months ago and I wanted to download the recent code again bu…
»
Mārtiņš Možeiko —
That could mean your other threads were waiting on some resource (mutex, critical section, etc..)…
»
Jan-Erik Platte —
Hi, I just watched epsiode 80 and wanted to outline my assumption of the "sword collision bug". On…
»
Livet Ersomen Strøm —
Yes. That is correct. however, if I try to use 100%, nothing is gained. And thats why I posted th…
»
lakmeer —
Hi, I've knocked up a quick interactive thingie to demonstrate my proposal for a visual effect for…
»
Mārtiņš Možeiko —
The number is correct. Your code uses 50% of logical CPU cores. Using 8 cores still makes sense be…
»
Livet Ersomen Strøm —
Thanks. But are you saying that the 50% reported is thus wrong? (That they really utilize 100%) Or…
»
Mārtiņš Možeiko —
Most likely you have quad-code CPU with Hyper-Threading enabled in BIOS. That's why 4 threads uses…
»
Livet Ersomen Strøm —
If you are interested, I'd like you to write code that does the following, on 1, 4 and 8 threads: …
»
The_8th_mage —
that sounds kinda good.
»
Mārtiņš Možeiko —
Well the first question should be why do you need to allocate persistent string at all? If you rea…
»
The_8th_mage —
I am fairly new to c++, having worked on c# for at least 5 years. i tried making a function that r…
»
Casey Muratori —
Well, the problem is that I'm not sure we could actually leverage that knowledge. In order to com…
»
jeringa —
When running two loops, One for the room and another for any sold object collisions you mentioned …
»
Casey Muratori —
So, again, we'll cover this later in the series, so I won't go into too much detail here, but the …
»