Recent Forum Threads

Forum Game
Post date June 18, 2016, 7:13 p.m.

Why comparison sort won't work

Just made some diagrams to help myself understand why a basic comparison sort won't work...

Recent Forum Replies

Forum Code
Post date Jan. 22, 2017, 6:53 a.m.

on __func__ or __FUNCTION__

The reasoning I've seen is that it's not a macro because the function name isn't known at pre-pro…
Forum Code
Post date Jan. 9, 2017, 3:49 p.m.

Compiler Episode 124 Question

Undefined behavior is another thing compilers optimize around. For example, in the following code…
Post date Sept. 26, 2016, 4:33 p.m.

Quartz crystal frequency and short int range

From Wikipedia: In modern quartz clocks, the quartz crystal resonator or oscillator is in the sh…
Post date Sept. 9, 2016, 5:12 p.m.

Compile time string hashing with C++ constexpr VS. your own preprocessor

Is the result of strlen(s) memoized, or does it get called 1024 times?
Forum Code
Post date Sept. 8, 2016, 9:35 p.m.

C pointer casting rules

adge: Because I think that << means: shift to the left (to the next lower memory address) …