Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void SetStr(char *ob)
- {
- str=strdup(ob);
- strcpy(str+1,ob);
- str[0]=strlen(ob);
- }
- void SetStr(char *ob)
- {
- str=strdup(ob);
- strcpy(str+1,ob);
- str[0]=strlen(ob)-1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement