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.
TM
German is really bad with GetKeyNameText, for instance "Numpad *" and "Numpad /" keys both return …
»
Brendan Sheehan
So I've been looking into the auto indent and trying to figure out how it works, however I'm still…
»
Jim R. Didriksen
Aha, thanks. Yeah its not the biggest issue, its just that all my code is indented that way (thre…
»
Simon Anciaux
Thanks Cranky, I've updated the original post to use GetAsyncKeyState. Can you tell me which langu…
»
Allen Webster
I can't remember all the details of what was an issue in this conversation but I'll describe the c…
»
Simon Anciaux
There isn't any notification on the site yet. You can use to get a list of all recent posts or us…
»
ratchetfreak
And the people that use CRTP are the ones that don't want to have anything to do with the virtua…
»
Arne Döring
this code is just an edited version of the code casey showed in the stream and it is supposed to s…
»
Mārtiņš Možeiko
"Essential Mathematics for Games and Interactive Applications: A Programmer's Guide" (James M. Van…
»
guillaumec
What are your references when writing matrix and quaternion code as far as the math go? I often sp…
»
ashelley
Thank you for the long thoughtful comment... I just realized that i might not get notifications wh…
»
Mārtiņš Možeiko
Languages like rust typically during compilation have very slow constant part due to how they are …
»
pragmatic_hero
I thought the purpose of CRTP and other template tricks are to utterly and completely butcher comp…
»
Clive Galway
Great article, thanks ever so much for this. I am working on an open source remapping application …
»
Jim R. Didriksen
Has this changed? Just started using 4Coder and I'm used to 3x Space Tabs. edit: Would also be nic…
»
Mārtiņš Možeiko
That's because in "debug" mode typically build system doesn't turn on compiler optimizations to ma…
»
nlives
yes, I got it to work, but have to run in release mode. for it to fast, in debug its very slow, I …
»
John Burton
Thanks both :) I think that the combination of a default parameter for when it doesn't matter, and…
»
Jeremiah Goerdt
Then interpret the data there according to what type another_member is. Follow pointer as needed.…
»
Ginger Bill
I have an allocator system which I use everywhere in my C and C++ code. I store the allocators in…
»
Mikael Johansson
So the name only has to live within the function, but the function is called often enough for allo…
»
John Burton
I am implementing allocators in my program. I use C++ (But not so much 'modern' c++). I have imple…
»
Mārtiņš Možeiko
Because in C the array variable is not a pointer. So taking address of will not give you pointer t…
»
Italo
initGfx(&textures, &spriteText, screenSurface);[/code] On GDB, if I print (*sprites) when inside…
»
TM
I think the sync code won't work as expected. I remember doing something similar for resetting key…
»
Andrew Reece
This post is meant to provide a general overview of the code structure to contextualize later info…
»
ratchetfreak
This may be stating the obvious somewhat but in "var.member.another_member" the "var" should be a …
»
ratchetfreak
Except the entire point of crtp is to avoid having any virtual functions in the first place. I fee…
»
Mārtiņš Možeiko
Yes, you need to call stbte_mouse_button with 5th argument set to 0 ("false") when mouse button is…
»
Arne Döring
There is a way in C++ from a base class, which inherited class it is. Whenever a class in C++ has …
»