//ostreamVar.unsetf() disables the manipulator passed by it //as a parameter, in this case left. //Be sure to include iomanip. cout.unsetf(ios::left); cout.unsetf(ios::fixed);