GDB setting a breakpoint in a strange fileI'm learning GDB, and trying to step through my singleton program. Now, I would expect that [code]b...
cin.ignore() seems to stop executionWhen run, the following code seems to stop at [code] cin.ignore(1000, '\n');[/code] line, as "Enter ...
Cant figure out constructor/operator callsSo are these lines equal ? : [code] A a = 2; A b(2); [/code] It's obvious that second one will call...
Cant figure out constructor/operator callsIn this code : [code] class A { public: A(int n = 0) : m_n(n) { } A(const A &a) : m_n(a.m_n) { } ...
Code location in memoryProbably a trivial question, but somehow I cant find an answer. So there's a heap and a stack where...
This user does not accept Private Messages