Is there a way in C++ to make the compiler take a certain number of digits even if they first digits are 0's. For example:
I have an item number that is 00001 and when I import the number from the file it displays a 1. I want it to import all five digits and display as 00001.
I don't really have code to display because I don't even know what function to use for this and the code I have is working as advertised, it's just not what I want it to do. I could make the number a string, but I would prefer to keep it an integer.