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.
Ameen Sayegh
I'm looking at shapes rendering recently and I learned about the edge test to decide whether a pi…
»
vexe
Oh... the &* thing lol. It's exactly the same reason I stopped using decltype too. 0 consiste…
»
Mattie
Day 215 at 0:30
»
vexe
I take what I said previously back. If StringFormat takes '...' it doesn't mean that we could pas…
»
vexe
Greetings! Casey mentioned that he tried to use decltype in one episode and it didn't work out o…
»
The_8th_mage
Well chronaldragon said that it's just ep 206 and 207,so maybe i got it wrong.
»
The_8th_mage
Hey, a few weeks ago casey did a metaprogramming stream at an off series stream. For some reason,…
»
Mārtiņš Možeiko
If StringFormat has va_list as third argument, then yes that is what he means. No need to pass va…
»
vexe
a) good point! I usually get around that by doing sprintf(mystr + strlen(mystr), etc...); if I'm …
»
Bryan Taylor
A couple of tips: a) return the number of bytes written to the buffer. That way, if you want to …
»
Rasmus
I really should've seen that. Thanks. Regarding the error code. I usually do that, and I now fe…
»
Mārtiņš Možeiko
If you use this define" #define XInputGetState XInputGetState_;" then code like this: 1if (XInput…
»
Rasmus
Here's the definition of the function 1 2 3 4 5 6 7#define X_INPUT_GET_STATE(name) DWORD WINAPI n…
»
Rasmus
I've just started following the series. I've had no real problems, and I've now run into a massiv…
»
Mārtiņš Možeiko
Yes, compiler replaces it with whatever machine instructions it needs to implement the behavior. …
»
vexe
Thanks for the reply. I'm using va_xxx in my StringFormat replacement of sprintf which I mostly u…
»
Mārtiņš Možeiko
This is one of the things you really should not be replacing. Unless you are writing your own com…
»
Mārtiņš Možeiko
Simply speaking entropy is how to measure if how random is system. High entropy means that system…
»
vexe
Gettings! I wanted to share with the community my sprintf replacement. It is not by all means a …
»
vexe
Thanks for the reply! Could you please explain what you mean by the word 'entropy'? I hear you m…
»
vexe
Greetings! I'm trying to replace cstdargs and I got a working implementation after researching o…
»
Casey Muratori
Yeah, it's a completely shitshow now. I tried to use the downloadable help, but it's totally bro…
»
Casey Muratori
The reason we don't use a global random number generator is not because we are worried about live…
»
Joshua T Bills
Edit: Spelling I really think my brain just lapsed that badly, that when I saw my code (ending i…
»
Mārtiņš Možeiko
No problem. That happens to everybody who writes code. Just read the error messages more carefull…
»
Joshua T Bills
Thank you very much! Silly how many times I looked over that, just to (as usual) look over a m…
»
Mārtiņš Možeiko
Your code doesn't use OutputDebugString function. It uses OutputDebugStr function. So error messa…
»
Mārtiņš Možeiko
As long as global random table is constant (we don't change it) and we don't keep pointers to it …
»
vexe
That's a good point indeed. But even if that's the case, we could certainly store the actual rand…
»
Joshua T Bills
Hello all, Thank you in advance for all help. I am new to the series, following along using Co…
»