Ok guys i inputted a smaller maze that i knew the answer to and added this code

Code:
while ( m != 0 )
		{

			char nextstep;

			nextstep = open;

			if ( nextstep == border )
				nextstep == false;
			else
			if ( nextstep == true )
				m--;
			
			cout << nextstep << endl;
			cout << m << endl;
			Maze << m << nextstep;
		}
	}
but all i get back is jibberish. It looks like black squares. Why does it do this?