Wtf... C++ requires you to declare functions before usage? Since when...