User profile: Peter87

User info
User name:Peter87
Number of posts:7662
Latest posts:

Why is printf not printing this correctly (but cout is)?
When the you pass arguments to a variadic function the compiler doesn't know what types to expect. W...

std::unordered_set speed comparison with vector
[quote=TheIdeasMan]Also wondering why the unordered_set is about 2'500 times slower for a find than ...

std::unordered_set speed comparison with vector
It seems like the bucket count is always a prime number. It probably has something to do with prime ...

Expected # of flips to get 10 heads in a row?
Note that std::mt19937 generates 32 bit numbers so if you really care about performance you could pu...

Math operator fails
[quote=Abe Khademi]When I enter 0 in the console, VSudio shows a message that do you want to Abort, ...

This user does not accept Private Messages

User: Peter87

  • Public profile