{
                  
                  
                      std::cout << s << '|' << std::endl;
                  
                  
                  }
                  
                  
                  
                  
                  
                  int main() {
                  
                  
                      std::vector<std::string> lines(4);
                  
                  
                      lines[0] = "Nothing is true, everything is permitted";
                  
                  
                      lines[1] = "When you stare into the abyss, the abyss stares back at you";
                  
                  
                      lines[2] = "Summer afternoon - summer afternoon";
                  
                  
                      lines[3] = "Literature is news that stays news";
                  
                  
                  
                  
                  
                      for_each(lines.begin(), lines.end(), print);  
                  
                  
                      return 0;
                  
                  
                  }
                  
                  
                
И исправно работает
Обсуждают сегодня