Quote Originally Posted by adeyblue View Post
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.