wat is this function doing
and wat wil b copied in new wit tis....... strcpy(new, part);
Re: wat is this function doing
It's getting the part of the filename that is beyond the '/', or the entire name if no '/' is present. Side note: don't waste your time putting "sizeof (char)" in a malloc. Unlike ints or other variables, sizeof char is ALWAYS 1.
|All times are GMT +5.5. The time now is 06:16.|