Search:

Type: Posts; User: jonnybgood

Search: Search took 0.00 seconds.

  1. Replies
    30
    Views
    4,803

    id ask you to go through the whole thing if you...

    id ask you to go through the whole thing if you wouldnt mind....
    i cant really make sense of it...i will go through it slowly but it would help a great deal if you could possibly go through it and...
  2. Replies
    30
    Views
    4,803

    i thought it would tell me whether there is a...

    i thought it would tell me whether there is a wall or not..
    i thought it did the following
    say maze[xstart][ystart] is 6
    in binary this is 0 1 1 0
    i want to & this with 1 0 0 0 (north wall)
    then...
  3. Replies
    30
    Views
    4,803

    code so far

    here is my whole prog so far... im sure you can see what it does...
    can you tell me where i ma going wrong (probably everywhere)


    #include<stdio.h>
    int main(void)
    {
    int maze[10][10];
    int...
  4. Replies
    30
    Views
    4,803

    no..it is move to [start][ystart+1] (move in...

    no..it is
    move to [start][ystart+1] (move in the south dircection)is it not????
  5. Replies
    30
    Views
    4,803

    sorry that last line is: move to...

    sorry that last line is:
    move to [start+1][ystart] (move in the south dircection)
  6. Replies
    30
    Views
    4,803

    ok..i have onyl been doing c for a week.. and not...

    ok..i have onyl been doing c for a week.. and not much.. this is really the first time i have sat down and started programming.

    is the following right....

    i think i should scan in my file using...
  7. Replies
    30
    Views
    4,803

    yeah i know. right im trying to & an array...

    yeah i know.
    right
    im trying to & an array element with 0x8..it looks like this.

    maze[xstart][ystart] & W_NORTH

    it doesnt like it..

    any help would be useful..
    thnks
  8. Replies
    30
    Views
    4,803

    oh...i didnt explain that very well.... the only...

    oh...i didnt explain that very well....
    the only input i have is to give the program an input file. then after that the next thing the program shoudl do is output a string/array showing the quickest...
  9. Replies
    30
    Views
    4,803

    nope.. ive managed to fscanf it...and can printf...

    nope..
    ive managed to fscanf it...and can printf the maze...so that is 1 step.

    now i need to start implementing the & thing.

    i have an array maze[i][j]. which contains the maze info...
    how...
  10. Replies
    30
    Views
    4,803

    ok..not sure if i understand the whole unsigned...

    ok..not sure if i understand the whole unsigned char bit but i will have a look into it....
    ok..im having great trouble actually scanning in the file that has the maze info.
    the file would be a...
  11. Replies
    30
    Views
    4,803

    hardcode??? sorry i am a newbie to C... could...

    hardcode???
    sorry i am a newbie to C...
    could you exaplin your idea in a bit more detail plz?
    thnks
  12. Replies
    30
    Views
    4,803

    Maze Solving Cont....PLZ

    Hi
    this is not the first thread on this topic...the previous one can be found at
    http://cboard.cprogramming.com/showthread.php?t=71922
    i have now found a way to move around the maze but i have now...
  13. Replies
    6
    Views
    7,945

    ok cool..that makes perfect sense... there is...

    ok cool..that makes perfect sense...
    there is another problem that i have been trying to work out..
    after i have worked out whether there is a wall in a certain coordinate how do i tell the program...
  14. Replies
    6
    Views
    7,945

    to answer your first question, yes 14 would mean...

    to answer your first question, yes 14 would mean north, west and south have walls.

    Im not 100% sure on what exactly the code example you gave does. Could you possibly exaplin it in more detail...
  15. Replies
    6
    Views
    7,945

    Solving A Maze Using C Language!!!!

    Hi
    I am a 4th year and have been given a project involving solving a maze (using C language). I have never done C before although i have done about 6 months of JAVA.

    Any help to the following...
Results 1 to 15 of 15