I've been having a really hard time with those kinds of bugs that just don't make any sense, and an even bigger one with trying to figure out how Code::Blocks' debugger works. If there's any way to make it show pointers' contents, or to be able to switch between scopes' variables, then my problems would be solved already, though alternatives are always welcome.
Help me out guys, scattering couts through the entire code is the most counter-intuitive and insanity-inducing burden ever. D|
edit: OS is Windows
VS2012 express is free-as-in-beer.