I want to display one digit integer to two or more digit.For example,m_hour=1.I want to display '01'.But I don't use complex method.(eg. at first judge the digit of the integer.Then to decide whether add 0 to the number).
Have you some good methods?Please teach me.
Thank you all.