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…
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…
Well chronaldragon said that it's just ep 206 and 207,so maybe i got it wrong.
Hey, a few weeks ago casey did a metaprogramming stream at an off series stream. For some reason,…
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 …
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…
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…
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…
This is one of the things you really should not be replacing. Unless you are writing your own com…
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…
Yeah, it's a completely shitshow now. I tried to use the downloadable help, but it's totally bro…
The reason we don't use a global random number generator is not because we are worried about live…
Edit: Spelling
I really think my brain just lapsed that badly, that when I saw my code (ending i…
No problem. That happens to everybody who writes code. Just read the error messages more carefull…
Thank you very much!
Silly how many times I looked over that, just to (as usual) look over a m…
Your code doesn't use OutputDebugString function. It uses OutputDebugStr function. So error messa…
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…
Hello all,
Thank you in advance for all help. I am new to the series, following along using Co…