Can anyone direct me where to go for doing stacks in C++. I have to make a program using stacks but can you initialize a stack with given values? If so can you give an example?
roscioeak@direc 0 Newbie Poster
Recommended Answers
Jump to PostThis would be an example of a stack of integers using a list ...
// example of a stack (Last In First Out = LIFO) using a list // compares to a stack of dinner plates // Dev-C++ #include #include using namespace std; int main() { list …
All 2 Replies
Reply to this topic Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.