SHARE
TWEET

Untitled

a guest Jan 24th, 2019 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void bib::adds(char c)
  2. {
  3.     kniga *kn;
  4.     int n = getAmount();
  5.     char str[40];
  6.     for(int i = 0; i < n; i++)
  7.     {
  8.         kn = getPtr(i);
  9.         strcpy(str, kn->getName());
  10.         strcat(str, c);
  11.         kn->setName(str);
  12.     }
  13. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top