I am wondering if there is a function or command that can be used like precision where once called it will add a certain amount of spaces before all output until otherwise changed. Instead of having to put like setw(10) before each output

Thanks,
Van