Advertisement
amermo

TP T-5 Z1

Mar 27th, 2015
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.29 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. int main()
  4. {
  5.     char recenica[100] {"Testiramo ovo bez prve"};
  6.     char *pok(recenica);
  7.     while(*pok == ' ' && *pok != '\0')
  8.         pok++;
  9.     while(*pok != ' ' && *pok != '\0')
  10.         pok++;
  11.     while(*pok != '\0')
  12.         std::cout << *pok++;
  13.     return 0;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement