User profile: johnbach

User info
User name:johnbach
History
Joined:
Number of posts:13
Latest posts:

overloading operator =
I was just doing for learning I got the answer + is implemented as non-member function so we c...

overloading operator =
Trying to add functionality to string without changing string (or other class/type) This works [co...

problem with clock()
[code]#include<iostream> #include<time.h> using namespace std; int main() { system("date");...

auto_ptr inside map
[code]#include <map> #include <memory> #include <string> using namespace std; template <typena...

singleton
which would you prefer and why? A class with all static members(data and function) or a singleton ...