Originally Posted by adeyblue Since nobody corrected this, it sets temp_str[0] to '0' (value 48 as mentioned). temp_str[1] to temp_str[29] are set to '\0' (value 0). Yes, you are right! I guess i misunderstood the way C++ sets arrays... Anyway, thanks for correcting me.
Devoted my life to programming...