I need a 0 preceding my single digit integer values so I wanted to implement something like the %002d that printf uses but in terms of cout. I'm not that familiar with the extra syntax for cout since I normally stick to printf, so I just thought thought I would ask if there is a way, and if so, what it is. Like always any help is appreciated, thanks!