User profile: coder777

User info
User name:coder777
History
Joined:
Number of posts:7348
Latest posts:

Treatment of NaN
I would suggest to use std::isnormal(...) with an assert since all not normal values are certainly u...

How to end a thread?
[quote]My problem with this is that in my game I have to use about 30 threads...[/quote]That sounds ...

Get/SetDIbits of BITMAP pixel
Something like this:[code] BITMAPINFO bmi; std::fill(reinterpret_cast<std::uint8_t *>(&bm...

help with vectors
find(...) on line 41 isn't the right thing for your purpose since it returns only one element. You n...

class scope
@Niccolo [quote]This is entirely different than the seemingly similar problem from:[/quote][code]get...