std::setfill(10)
looks suspicious. ASCII character 10 is a line-feed. Did you intend setw()
?
Yes, that's what I meant to put. Thanks.
Maybe you want to have
#include <string>
in the header?
I should put
using namespace std;
after your include statements. Then remove all the std:: which are just making your lines unnecessarily long.
Last edited on