C++ Stack and Queue Tutorial for Beginners

Click For Summary
SUMMARY

This discussion focuses on effective learning resources for understanding stacks and queues in C++. Participants recommend utilizing textbooks over video tutorials for a more reliable learning experience. Key resources mentioned include the website cppforschool.com and the book "Algorithms in C++" by Robert Sedgewick. Users emphasize the importance of running code examples from textbooks and experimenting with them to enhance understanding.

PREREQUISITES
  • Basic understanding of C++ programming language
  • Familiarity with data structures, specifically stacks and queues
  • Knowledge of algorithmic concepts
  • Ability to navigate online resources and textbooks
NEXT STEPS
  • Read "Algorithms in C++" by Robert Sedgewick
  • Explore the C++ Standard Library documentation for stack and queue
  • Search for C++ stack and queue video tutorials on Google for supplementary visual learning
  • Practice coding examples from textbooks and modify them to see different outcomes
USEFUL FOR

Beginner C++ programmers, computer science students, and anyone looking to deepen their understanding of data structures like stacks and queues.

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   Reactions: 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
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
Replies
69
Views
10K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
86
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 28 ·
Replies
28
Views
2K
  • · Replies 25 ·
Replies
25
Views
918
  • · Replies 2 ·
Replies
2
Views
2K