User profile: Peter87

User info
User name:Peter87
Website:http://dataapa.net/
History
Joined:
Number of posts:10061
Latest posts:

Mistake in a counting-corrector
= is for assignments. == is for comparisons.

Stupid compiler rules
I tested this on Compiler Explorer with both GCC and Clang, with -Wall and -Wextra, with and without...

Got Something to Work and Not sure why its working
Compilers will often warn about mixing signed and unsigned types in comparisons because they are so ...

Got Something to Work and Not sure why its working
[code]int[/code] is a [b]signed[/b] integer type. [code]key.length()[/code] gives you an [b]unsigne...

Pointer to std::function<>
g is a pointer to a pointer. *g is a pointer. You need to dereference once more to get the std::func...