lab_quacks
Spiteful Stacks and Questionable Queues
All Classes Namespaces Files Functions
quackfun.h File Reference

Contains the QuackFun namespace definition. More...

Namespaces

 QuackFun
 Namespace to contain the stack and queue functions for this lab.
 

Functions

template<typename T >
QuackFun::sum (stack< T > &s)
 Sums items in a stack. More...
 
bool QuackFun::isBalanced (queue< char > input)
 Checks whether the given string (stored in a queue) has balanced brackets. More...
 
template<typename T >
void QuackFun::scramble (queue< T > &q)
 Reverses even sized blocks of items in the queue. More...
 

Detailed Description

Contains the QuackFun namespace definition.