C/C++ C++ Stack and Queue Tutorial for Beginners

AI Thread Summary
The discussion centers around finding effective tutorials for understanding stacks and queues in C++. Several users express difficulty in grasping these concepts and seek resources. While various online references, such as cppforschool.com and cplusplus.com, are suggested, the consensus leans towards the effectiveness of textbooks over video tutorials. Users highlight the challenges of learning from videos, such as the need to pause and type out code, which can hinder the learning process. Recommendations include Robert Sedgewick's "Algorithms in C++" as a valuable resource. The importance of hands-on practice, such as running and modifying code examples from textbooks, is emphasized as a beneficial learning strategy.
sukalp
Messages
53
Reaction score
2
is there any tutorial which covers stack and queue in c++.
i am not able to understand it is getting difficult for me .
 
Technology news on Phys.org
Just put ' C++ queue video ' and ' C++ stack video ' into Google . My search generated many results .

Personal observation : I have always found learning things from textbooks and textbook style websites far easier and certainly more reliable than trying to learn anything from video tutorials .
 
Nidum said:
Just put ' C++ queue video ' and ' C++ stack video ' into Google . My search generated many results .

Personal observation : I have always found learning things from textbooks and textbook style websites far easier and certainly more reliable than trying to learn anything from video tutorials .
thank you
 
The problem with video tutorials is seeing the code being executed and then trying to use the code means stopping the video and typing in what you see or jumping to some URL the video might reference to get the code.
 
  • Like
Likes sukalp
jedishrfu said:
The problem with video tutorials is seeing the code being executed and then trying to use the code means stopping the video and typing in what you see or jumping to some URL the video might reference to get the code.
thank you
 
sukalp said:
is there any tutorial which covers stack and queue in c++.
i am not able to understand it is getting difficult for me .

Definitely agree with Nidum and jedishrfu about video tutorials. I also highly recommend more thorough reading from a textbook. Robert Sedgewick's "Algorithms in C++" https://www.amazon.com/dp/0201350882/?tag=pfamazon01-20, is a great resource.
 
Last edited by a moderator:
Not to flog a dead horse here...
But textbooks is the way to go. What worked best for me was to take the examples from the books. Run them as described, see how they run. Then tinker with the code, change things and see the result.
But you'll need to find your own way to learn :)
 
  • #10
QuantumQuest said:
Definitely agree with Nidum and jedishrfu about video tutorials. I also highly recommend more thorough reading from a textbook. Robert Sedgewick's "Algorithms in C++" https://www.amazon.com/dp/0201350882/?tag=pfamazon01-20, is a great resource.
thanks
 
Last edited by a moderator:
  • #11
cpscdave said:
Not to flog a dead horse here...
But textbooks is the way to go. What worked best for me was to take the examples from the books. Run them as described, see how they run. Then tinker with the code, change things and see the result.
But you'll need to find your own way to learn :)
thanks
 
Back
Top