Using base
#include <iostream>
#include <string>
#include <vector>
#include <windows.h>
#include <fstream>
using namespace std;
int MAX_ROWS = 22;
int MAX_COLS = 80;
//this is a reference to cout (we got this when we changed the output color)
//we can use this to setCursorPosition
HANDLE output = GetStdHandle(STD_OUTPUT_HANDLE);
Please, use code tags (the <> formatting button) when posting code.
It makes it easier to read your code and also easier to respond to your
post. http://www.cplusplus.com/articles/jEywvCM9/
Hint: You can edit your post, highlight your code and press the <>
formatting button.
Could you be specific on what problems are you having with your code?