Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

Delete all items equal to the first item in the queue and write the changes to the new queue

0 votes
asked May 3, 2020 by asatbek2000 (120 points)

1 Answer

0 votes
answered May 13, 2020 by Juergen (300 points)
use std::remove_if with a lambda function
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.