I have created an algorithem that can solve a maze.  And I was wondering if anybody knew were there was an algorithem in C++ that can create a random maze.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

/* */
#define P(X)j=write(1,X,1)
#define C 39
int M[5000]={2},*u=M,N[5000],R=22,a[4],l[]={0,-1,C-1,-1},m[]={1,-C,-1,C},*b=N,
c|1<<s;M[*d++=e]=f|1<<(s+2)%4;}else e=d>b++?b[-1]:e;}P(" ");for(s=C;--s;P("_")
)P(" ");for(;P("\n"),R--;P("|"))for(e=C;e--;P("_ "+(*u++/8)%2))P("| "+(*u/4)%2
He did it again ;)
Are you competing in the obfucated C-contest ozo?
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

I think hhartman meant a maze to find a route through not code that looks like a maze :-)
hhartmanAuthor Commented:
can anyone help me I really need an algoritum that can generate a map into a matrix?
All help is appreciated
How do you describe the maze (datastructure and such)
hhartman, sorry that I reply (and not ethick to other guys), but we wont
you reaction! What do you think, what helps/not helps you?
Sorry again, Alex

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
hhartmanAuthor Commented:
Your comments really helped.  From the sites I was able to use their algorithums to create one that suited my purposes.  I have been really busily lately and that is why I have not responded to you sooner
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.