Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

show stack c++

void showstack(stack<int> s) {
	while(!s.empty()) {
		cout<< s.top()<<" ";
		s.pop();
	}
	cout<<endl;
}
 
PREVIOUS NEXT
Tagged: #show #stack
ADD COMMENT
Topic
Name
6+1 =