/* stripe.h - We want to be able to print large letters
 *            in a row, not sequentially in a page. The main method
 *            is append that will concatenate a c-string to the current
 *            row of the stripe and then advances the cursor to the next
 *            row of the stripe, circularly.
 */

#ifndef STRIPE_H_
#define STRIPE_H_

class Stripe {
	string *base; // base is a pointer to strings
	int nrows;  // The number of rows in base
	int cursor; // The row where the current append will take place
public:
	// Constructor with default number of rows
	Stripe();
	// Constructor with size rows
	Stripe(unsigned int size); 
	// Destructor
	~Stripe();  
	// Accessor to nrows
	int numberOfRows();
	 // Concatenate s to the current row and advance to next row
	void append(const char *s);
	// Print out content
	void printout();
	// Empty out and reset content
	void reset();
};

#endif

