18.04.2017, 20:19
strins won't work because it operates on strings. randphone is an integer. Try something like that:
...and phonenumber should become what you want it to (0670-123456789 for example).
Код:
new phonenumber[16]; format(phonenumber,sizeof(phonenumber),"%s-%d", "0670", randphone);