Is "Queue Manegment" necessary? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is "Queue Manegment" necessary?

I don't realy understand the queue Manegment at all and was wondering if it's necessary to complete the course?

3rd Jan 2023, 1:32 AM
bluish-poet
bluish-poet - avatar
1 Answer
+ 6
It is if you need to use it in the future. Otherwise there is no harm in learning the concept. At least you know it exists and would know what to Google for if you encounter some problem that could use it. Think of the project as an exercise in writing an object oriented program in C++ to create an data structure allows you to link data but only allows data to be removed in a first in first out basis, like people in line to buy something. They enter at the back and wait for their turn. There is an std::queue that you can use, so you really don't have to write your own. But understanding how to write OOP and use templates is the goal here.
3rd Jan 2023, 2:49 AM
Bob_Li
Bob_Li - avatar