Tag Archives: tedious programming post

Imbuing a certain niceness on one’s formatting

Oh my, std::locale(“”) is gorgeous when slapped on a std::stringstream. So long as you’re not writing super-duper-performance-sensitive code, you can do wonderful things like this: #include <string> #include <sstream> #include <locale> #include <iostream> #include <iomanip> int main() { std::stringstream ss; … Continue reading

Posted in Rants, Software development | Tagged , , , , , , | Leave a comment