Like Tree11Likes
  • 2 Post By anduril462
  • 3 Post By quzah
  • 2 Post By CommonTater
  • 4 Post By Matticus

Solving a Maze in C++. URGENT Help Needed :)

This is a discussion on Solving a Maze in C++. URGENT 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++. URGENT 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
    Last edited by Krote; 06-21-2011 at 04:30 PM. Reason: estetics

  2. #2
    Registered User
    Join Date
    Nov 2010
    Location
    Long Beach, CA
    Posts
    5,515
    Read:
    Announcements - C Programming
    Announcements - General Programming Boards

    Ways in which this post fails:
    • You posted for C++ help in a C forum. C++ is a totally different language than C, even if you don't need/use OOP. WTF is OP?
    • Your urgent != our urgent. Learn to manage your time. A little less partying and sleeping is sometimes necessary. A big fat F and failing a class is a pretty good, though harsh, lesson to learn. It sounds deserved in this case.
    • You outright asked if we could give you a solution, which violates our homework policy, academic integrity policies of every school and general ethics.
    • You made no attempt to solve this on your own or post any effort. This usually means we will make no effort to help you.
    Last edited by anduril462; 06-21-2011 at 04:21 PM. Reason: fixed wacky font issues
    Matticus and Salem like this.

  3. #3
    Registered User
    Join Date
    Jun 2011
    Posts
    3
    Quote Originally Posted by anduril462 View Post
    Read:
    Announcements - C Programming
    Announcements - General Programming Boards

    Ways in which this post fails:
    • You posted for C++ help in a C forum. C++ is a totally different language than C, even if you don't need/use OOP. WTF is OP?
    • Your urgent != our urgent. Learn to manage your time. A little less partying and sleeping is sometimes necessary. A big fat F and failing a class is a pretty good, though harsh, lesson to learn. It sounds deserved in this case.
    • You outright asked if we could give you a solution, which violates our homework policy, academic integrity policies of every school and general ethics.
    • You made no attempt to solve this on your own or post any effort. This usually means we will make no effort to help you.
    I live in Israel, here it is a little bit different.
    I will have to do this project at class for missing our first exam (personal reasons).
    Offcourse I do efforts for solving that I'm solving different projects every day for the last two weeks (about 8 hours a day), only a few hours ago my friend told me that he found out what the exam would be about.
    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.

  4. #4
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Quote Originally Posted by Krote View Post
    I live in Israel, here it is a little bit different.
    What does that have to do with anything you quoted? Those are forum rules, not national rules.
    Quote Originally Posted by Krote View Post
    I just wanted to see similar solutions that's all.
    Google is your Friend


    Quzah.
    stahta01, GReaper and Salem like this.
    Hope is the first step on the road to disappointment.

  5. #5
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by Krote View Post
    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).
    If it uses "some of C++ features" it is a C++ program and you've posted to the wrong forum.

    And what exactly is OP?


    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
    Any idea how many times we hear this? And then 5 days after the supposedly urgent deadline buddy is still trying to convince us to write his code for him...



    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
    Let me give you a little hint about the real world...

    If you can't pass the course on your own, you need to pick a different career. Nobody's going to want you in their programming pool and for certain nobody's going to cover your butt when the crunch comes in the workplace... they'll hang you out to dry.

    If you can't do it now, it's very unlikely you will magically be able to do it later...
    Salem and rags_to_riches like this.

  6. #6
    Registered User
    Join Date
    Jun 2011
    Posts
    2,435
    It's been an hour since you first posted. In that time, you could have defined an array and started generating a flow chart. Then you could have shared what you had done so far and you just might have gotten some feedback.

    At least, that's how I would have approached something "urgent" that was "important" to me.
    Last edited by Matticus; 06-21-2011 at 06:00 PM. Reason: anally corrected a word

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help solving a maze!
    By cosio55 in forum C Programming
    Replies: 2
    Last Post: 11-10-2010, 08:02 AM
  2. Solving maze using rec'
    By gavra in forum C Programming
    Replies: 14
    Last Post: 07-13-2008, 09:20 AM
  3. Having trouble solving maze.
    By eurus in forum C Programming
    Replies: 3
    Last Post: 02-17-2006, 12:52 AM
  4. Maze Solving Cont....PLZ
    By jonnybgood in forum C Programming
    Replies: 30
    Last Post: 11-11-2005, 03:00 AM
  5. Solving A Maze Using C Language!!!!
    By jonnybgood in forum C Programming
    Replies: 6
    Last Post: 11-08-2005, 11:15 AM

Tags for this Thread


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