Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

StackComparison

A C++ program to compare two stacks and determine if they are identical. Includes two stack classes (stack1 and stack2) with common operations like push, pop, display, and checks for emptiness and fullness. The main function prompts the user to input values for two stacks, displays their contents, and checks if the stacks are identical.

How to Use

Provide instructions on how to compile and run your program. Include any dependencies or specific setup steps.

Compilation

g++ identical.cpp -o StackComparison

Run the program

./StackComparison

Folder Structure

Outline the folder structure of your repository, especially if you've organized your code into different directories.

StackComparison/

|-- stack1.h |-- stack1.cpp |-- stack2.h |-- stack2.cpp |-- main.cpp |-- README.md

About

A C++ program to compare two stacks and determine if they are identical. Includes two stack classes (stack1 and stack2) with common operations like push, pop, display, and checks for emptiness and fullness. The main function prompts the user to input values for two stacks, displays their contents, and checks if the stacks are identical.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages