Like Tree4Likes
  • 4 Post By VirtualAce

Solving a Maze in C, Help needed

This is a discussion on Solving a Maze in C, Help needed within the C++ Programming forums, part of the General Programming Boards category; Hi guys ! I'm new on your forum but I'm not new to programming. I'm in collage and I need ...

  1. #1
    Registered User
    Join Date
    Jun 2011
    Posts
    3

    Post Solving a Maze in C, Help needed

    Hi guys !
    I'm new on your forum but I'm not new to programming.
    I'm in collage and I need to write a program in C (actually using some of C++ features, but no OOP - just OP).
    The program loads MAZE features (starting point, finish point, "walls") from a file, and it shoes the SOLUTION.
    Code:
    • Without using recursion
    • using directions {{0,1} {1,0} {-1,0} {0,-1}}
    • saving the current way (probably best saving it to another board)
    • no OOP, OP only (using C++ read/write/file handling functions)
    THIS IS REALLY URGENT, I don't hace much time but if one of you guys already has a similar solution, it will be a great help for me
    I can not afford failing this one .. that's really important for me
    Most of the students fail this one, I will have only 5 hours to solve it tomorrow .. I just wanted to see similar solutions that's all.

    Thanks again,
    Eli

  2. #2
    Registered User
    Join Date
    May 2011
    Posts
    29
    Isnt this considered cheating?

  3. #3
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,590
    This is a simple task and there is information all over the internet about this. On a side note this thread is also against our homework policy. Please take some time to read it. We are not a cheat site where you can come and get answers regurgitated to you or have code done for you.

    ...collage
    Don't you mean college?

    I'm new on your forum but I'm not new to programming.
    Sounds to me like you are new on both fronts if you really cannot step back and come up with and/or resesarch at least one or two possible solutions to this problem.


    I can not afford failing this one .. that's really important for me
    Yet strangely your problem is not important to us nor should it be since we do not have a grade riding on this.
    Most of the students fail this one...
    This is a simple task and I cannot understand how anyone would outright fail this.

    I will have only 5 hours to solve it tomorrow
    Sounds like a lack of planning on your part. I guess you better get started. When you finally do make an attempt and fail then you can come and post your specific problem and perhaps then we can guide you to the solution. We do not hand out solutions b/c that does not help anyone in the long run.

    I just wanted to see similar solutions that's all.
    Sounds to me like you want to steal a solution and claim it as your own.

    BTW do us a favor and spread the word that this site is not a cheat site and if you want to cheat on homework this is not the place to do it.
    Last edited by VirtualAce; 06-22-2011 at 10:37 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Solving a Maze in C++. URGENT Help Needed :)
    By Krote in forum C Programming
    Replies: 5
    Last Post: 06-21-2011, 05:58 PM
  2. Help solving a maze!
    By cosio55 in forum C Programming
    Replies: 2
    Last Post: 11-10-2010, 08:02 AM
  3. Solving maze using rec'
    By gavra in forum C Programming
    Replies: 14
    Last Post: 07-13-2008, 09:20 AM
  4. Having trouble solving maze.
    By eurus in forum C Programming
    Replies: 3
    Last Post: 02-17-2006, 12:52 AM
  5. Solving A Maze Using C Language!!!!
    By jonnybgood in forum C Programming
    Replies: 6
    Last Post: 11-08-2005, 11:15 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21