buffer.hassn1 - '#' ; //type definitions typedef char Buffer

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
#ifndef BUFFER_H #define BUFFER_H //include the required libraries #include <iostream> #include <iomanip> #include <string> #include <fstream> #include <cstdlib> //declare a namespace for identifiers using namespace std; //declare the required constants const int BUFFER_ROWS = 20, BUFFER_COLUMNS = 60; const char BUFFER_EMPTY = ' ' , BUFFER_BORDER =
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: '#' ; //type definitions typedef char Buffer [BUFFER_ROWS][BUFFER_COLUMNS]; //function prototypes void bufferClear (Buffer b); void bufferPrint (Buffer b); void bufferSetCell (Buffer b, char myChar, int myrow, int myCol ); void loadPlayer(); void loadAsteroid(); #endif...
View Full Document

Ask a homework question - tutors are online