07.06.2013, 17:43
Should be:
new text[24]; instead of new text; You are scanning a string into an integer ending up with having the ANSI code stored into the variable these are those random numbers.
new text[24]; instead of new text; You are scanning a string into an integer ending up with having the ANSI code stored into the variable these are those random numbers.