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…
The problem is that you may have to independently invent the wheel.
I don't know of any availabl…
Ah, cool - I am waiting for payday before preordering, so wasn't aware of the git repo - that mak…
Well if you have preorder, you can always pull code from github. If you pull new code every day t…
I've had a bit of a search but so far this seems like a new question:
For those of us who pay by…
I see... Didn't know about wmic. But even with this log things should
be pretty difficult to debu…
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…
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 …
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…
C/C++ refactoring in text editors is unsolved problem :)
This looks like it can do variable renam…
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…
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 …
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…
One way is to survey what the user's hardware, firmware, and software is.
On windows, to find th…
Programming discussions directly related to episodes of Handmade Hero. All off-topic discussion …
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…
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…