Adding commas to every thousands of a number
Using std::stringstream, std::locale, and std::numpunct, you can add commas to every thousands of a number as following: class g3 :
Continue readingEverything should be made as simple as possible, but not simpler – Einstein
Using std::stringstream, std::locale, and std::numpunct, you can add commas to every thousands of a number as following: class g3 :
Continue readingFollowing singleton can be used in multi-threaded environment: class SingletonClass { public: static SingletonClass* getInstance(); void init(); private: SingletonClass(); static
Continue reading
Recent Comments