Citat:
tuzlaorg je napisao:
Imam problem sa sprintf..
int lol
char **blah;
sprintf(blah, "echo zup times %i ", lol, " sux ");
Segemtation .....
Treba da bude
int lol
char *blah = malloc(100);
memset(blah,0x00,100);
sprintf(blah,"echo zup times %i %s",lol,"sux");