template functionsThe concrete problem i see is, that you declare your function to take only const integer. Did you me...
inverse of a matrixHi rahulmm, there are several ways of doing this. But the first question is, what kind of represe...
Iterate through STL listsomething like [code] std::list<int> intList; for (int i = 0; i < 10; ++i) { intList.push_...
Program about Complex numbers.I would design it like this [code] template <typename T> class Complex { public: Complex(...
Improving a factory functionWhat about template specialization? You could slightly improve the performance, because the switch w...