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.
Jim R. Didriksen
Aha, thanks. Yeah its not the biggest issue, its just that all my code is indented that way (thr…
»
Simon Anciaux
Thanks Cranky, I've updated the original post to use GetAsyncKeyState. Can you tell me which lan…
»
Allen Webster
I can't remember all the details of what was an issue in this conversation but I'll describe the …
»
Simon Anciaux
There isn't any notification on the site yet. You can use this page to get a list of all recent p…
»
ratchetfreak
krux02 this code is just an edited version of the code casey showed in the stream and it is suppo…
»
Arne Döring
this code is just an edited version of the code casey showed in the stream and it is supposed to …
»
Mārtiņš Možeiko
"Essential Mathematics for Games and Interactive Applications: A Programmer's Guide" (James M. Va…
»
guillaumec
What are your references when writing matrix and quaternion code as far as the math go? I often s…
»
ashelley
Thank you for the long thoughtful comment... I just realized that i might not get notifications w…
»
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 c…
»
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 n…
»
Mārtiņš Možeiko
That's because in "debug" mode typically build system doesn't turn on compiler optimizations to m…
»
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, a…
»
Jeremiah Goerdt
ratchetfreak This may be stating the obvious somewhat but in "var.member.another_member" the "var…
»
Ginger Bill
I have an allocator system which I use everywhere in my C and C++ code. https://github.com/ginger…
»
Mikael Johansson
So the name only has to live within the function, but the function is called often enough for all…
»
John Burton
I am implementing allocators in my program. I use C++ (But not so much 'modern' c++). I have impl…
»
Mārtiņš Možeiko
Because in C the array variable is not a pointer. So taking address of will not give you pointer …
»
Italo
1 2 3 4 5void initGfx(SDL_Surface ***textures, SDL_Surface ***sprites, SDL_Surface *screen){ …
»
TM
I think the sync code won't work as expected. I remember doing something similar for resetting ke…
»
Andrew Reece
This post is meant to provide a general overview of the code structure to contextualize later inf…
»
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 …
»
Mārtiņš Možeiko
1) Yes, you need to call stbte_mouse_button with 5th argument set to 0 ("false") when mouse butto…
»
Arne Döring
There is a way in C++ from a base class, which inherited class it is. Whenever a class in C++ has…
»
Jeremiah Goerdt
I've been scratching my head a bit lately, trying to figure out how to handle a string of variabl…
»
nlives
I am trying to use stb_tilemap_editor.h with sfml, And I have a few doubts 1. 1 2if (sf::Mouse::…
»