I am Charmie

メモとログ

2016-06-07から1日間の記事一覧

show progressive percentile on the terminal

[code lang="c"] std::cout << std::fixed << std::setprecision(2) << std::setw(6) << "\b\b\b\b\b\b\b" << 100.0*ratio << "%" << std::flush; [/code]