Hi, I have a 4-digit integer, which sometimes for example, will be vetted, sometimes it will have zeros to its left, but the problem is that I do not know how to show the leading zeros. Let's suppose that I have the following integer:

```
0382
```

How could I do to show it with a cout or a printf the zeros on its left since my number for example will be four characters. Or sometimes it will have more zero as I can show the zeros on the left. In my attempt I'll make a cout:

```
int i;
i=0382;
cout << i;
```

But will he show it to me as 382 as I could do to show these zeros?