Advertisement
Weper

Tisztit()

Apr 26th, 2015
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.32 KB | None | 0 0
  1. void szavak::Tisztit()
  2. {
  3.     unsigned char temp;
  4.     string temp2;
  5.     int hossz2 = 0;
  6.     for (int i = 0; i < n; i++)
  7.     {
  8.         hossz2 = p[i].s.length();
  9.         temp2 = "";
  10.         for (int j = 0; j < hossz2; j++)
  11.         {
  12.             temp = (unsigned char)p[i].s[j];
  13.             temp2 += temp;
  14.         }
  15.         p[i].s = temp2;
  16.         p[i].s = filter1(p[i].s);
  17.     }
  18.        
  19.  
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement