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.
Mārtiņš Možeiko
It appears Visual Studio linker exports unmangled function name if it is specified with /EXPORT c…
»
Vivek
Hi, I am at day 030 and this is the question I have, We are using extern "C" in handmade.cpp fo…
»
Tom
I'm using 0 3rd party libraries Well, I suppose one could argue, that using SDL the way the SDL-P…
»
Ginger Bill
The problem is that you may have to independently invent the wheel. I don't know of any availabl…
»
J.Chris Findlay
Ah, cool - I am waiting for payday before preordering, so wasn't aware of the git repo - that mak…
»
Mārtiņš Možeiko
Well if you have preorder, you can always pull code from github. If you pull new code every day t…
»
J.Chris Findlay
I've had a bit of a search but so far this seems like a new question: For those of us who pay by…
»
Caio Takano
I see... Didn't know about wmic. But even with this log things should be pretty difficult to debu…
»
Mārtiņš Možeiko
Yes, for C code RTTI and regular exceptions doesn't mean anything. On Windows there is possibilit…
»
vexe
I guess we don't care about disabling RTTI and Exceptions if we switch MSVC to C mode, correct? W…
»
Mārtiņš Možeiko
Yeah, but generated code compared to MSVC/clang/gcc C code won't be impressive :) MSVC in C mode …
»
vexe
Thanks for the reply. I forgot to mention I do know about the switch that tells cl to compile my …
»
Mārtiņš Možeiko
MSVC compiles C code without C++ features just fine. I recommend continue using MSVC. Rename file…
»
vexe
Greetings! So far in HMH we've been using C++ and disabling features we don't need by the compil…
»
Mārtiņš Možeiko
C/C++ refactoring in text editors is unsolved problem :) This looks like it can do variable renam…
»
Finalspace
I live in germany too (near Stuttgart) and i do programming since ~20 years. Its a pity that i co…
»
vexe
Greetings! So I started using Emacs recently because I found for me that it's a lot more conveni…
»
Mārtiņš Možeiko
More low-level approach would be to use raw input API. DirectInput actually uses raw input to tal…
»
vexe
I'm using 0 3rd party libraries (except some C library stuff like math) at the moment in my game.…
»
Vivek
Thank you for the quick reply, I was also thinking the same thing but was not sure of it, Thanks …
»
Mārtiņš Možeiko
Structure A contains only pointer to string. When calling fwrite, it will write into file 4 or 8 …
»
Vivek
Hi, I have a small doubt in C/C++ with respect to structs 1 2 3 4 5 6 7 8 9 10 11 12 13 …
»
Tom
You could also use the SDL-port, as then SDL takes care of loading the correct input libraries fo…
»
Ginger Bill
One way is to survey what the user's hardware, firmware, and software is. On windows, to find th…
»
Ginger Bill
Programming discussions directly related to episodes of Handmade Hero. All off-topic discussion …
»
Ginger Bill
With regards to loading OpenGL functions, I use gl3w https://github.com/skaslev/gl3w It is very …
»
vexe
Have to figure those nulls out... This glcorearb.h seem to have the stuff I want for now (only c…
»
Mārtiņš Možeiko
OpenGL 4.5 doc (https://www.opengl.org/registry/doc/glspec45.compatibility.pdf) says there is Get…
»
vexe
Btw, I'm still catching up. Did Casey ever find a better way to handle the PDB file of the game D…
»
vexe
I do support 4.5 AFAIK. Here's what the print out says after loading: [Code] OpenGL 4.5.13397 Co…
»