Entrance to randomly generated maze

Hello i made program that randomly generate maze
with # walls and . as path
But how do i define entrance to the maze to be top left and exit bottom right?
How do i define exact position x y to be "." ?
Want create from this
1
2
3
4
5
6
7
8
9
10
11
###########
#.#.......#
#.#######.#
#.......#.#
#######.#.#
#...#...#.#
#.###.###.#
#...#.#...#
#.#.#.###.#
#.#.......#
########### 


To this .
1
2
3
4
5
6
7
8
9
10
11
###########
..#.......#
#.#######.#
#.......#.#
#######.#.#
#...#...#.#
#.###.###.#
#...#.#...#
#.#.#.###.#
#.#........
########### 
Last edited on
Hi,

How to write a question:

http://www.cplusplus.com/forum/beginner/1/#msg6680


It seems to me that you answered your own question?

What is the exact problem you are having?
dont know how to define that on certain position print . istead of #
You should give your already existing code so help can be given.
Topic archived. No new replies allowed.