What do you mean by "Visual Studio freezes"? Can you access any menu in IDE? Or is all the GUI fro…
Hello everyone, I just started the "Intro to C" video and am having issues with either Visual Stud…
elle —
Because this came up numerous times during HH, I read the spec and want to share my findings. ;) A…
Zero-cost model for exceptions means that there is no additional code or performance penalty when …
Pointers to member functions can certainly be a little tricky however with C++11 and a mix of temp…
Another issue with C++ constructors is that you cannot return stuff from them. To fail a construct…
Maybe we should start a list or a separate thread for organizing meetups before and after the conf…
Thanks, I guess I missed the brackets. I thought he was incrementing it by 1 u8, not 1 asset_memo…
"Block" points to the header struct for the block -- which we use to track the size for freeing la…
If I remember correctly then that is because asset_memory_block is stored in memroy just before th…
Mattie —
Block is actually just the header for the following free space, not the free space itself. "Block …
Why isn't it just "Block", why the extra "+ 1"? Isn't Block the thing you want to return? Here is…
Virtual functions are the difference. In stand-alone case you'll need to make sure you call correc…
Generally speaking, any minor syntactic difference boils down to personal preference. There is ab…
I could eat some BBQ :-) I'm in Seattle from friday at 6 PM until monday morning. Any recommendati…
Use what works for you. I mean, dogmatically rejecting OOP is just as bad as dogmatically requirin…
Hey, (I have read the other OOP topics on this forum, and elsewhere, but none of them seemed to an…
After an unanticipated extended hiatus, the native Mac OS X port of Handmade Hero is back up-to-da…
No problem, glad I can help :)
Connor —
Thanks for the information! That's what I needed to know! PS. I have noticed that you are answerin…
DirectSound is based on C++ COM object model. This means having public abstract C++ class. And rea…
Connor —
I accidentally deleted the InitDirectSound function when converting the from .cpp to c from my fol…
Tim —
Thank you! Installing Visual Studio Community (aka VC 14.0) fixed the problem. I am now calling th…
When you add the resource you don't specify a bitmap. You specify a custom resource. In my 32 bit …
Sorry I wasn't clear. I DO have a 32bit image, made in gimp. But when I clicked add resource and t…
Ah, I assumed you already had the 32bit image. You would load that image into the resource as a cu…
@RomulusTFM It's kinda funny because when I did that I typed Bitmap when they asked me the type an…
I would look into adding the image as a custom resource. You then would use the LoadResource funct…
Oh I've come to know that from the very first moment i used it, but my previous little game didn'…
Although it's not necessarily a good idea because some anti-virus software is stupid (OK, anti-vi…