18.06.2017, 12:50
Can someone tell me how can i access a returned array from a function?
Thanks.
Thanks.
main() { new mainstring[128]; format(mainstring, sizeof(mainstring), "%s", funketup()); printf("%s is same as %s", mainstring, funketup()); } funketup() { new str[128] = "'this is a returned string"; format(sizeof(str), "%s and we do something naw with it %i'", GetTickCount()); return str; }