Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
Ranked #107.71K
~3K People Reached
Favorite Forums
Favorite Tags

1 Posted Topic

Member Avatar for eranga262154

Really? How's bout this?(Yes, from the old school...) char temp2[1024]; char *GetFileNameOnly(char *filename) { char temp1[1024]; char *F; int i = 0; F=strrchr(filename,'/'); strcpy(temp1,F+1); while(F[i] != '.') { temp2[i] = temp1[i]; i++; } temp2[i-1] = '\0'; return temp2; }

Member Avatar for Gorf
0
3K

The End.