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