nbdyson

Untitled

Mar 29th, 2015
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.21 KB | None | 0 0
  1.     for(i = 0; i <= strlen(text); i++)
  2.     {  
  3.         if(text[i] == '{')
  4.         {
  5.             pos = i;
  6.         }
  7.     }
  8.    
  9.     if(pos != -1)
  10.     {
  11.         if(!strcmp(text[pos+7], "}", true)) return 0;
  12.     }
Advertisement
Add Comment
Please, Sign In to add comment