Search:

Type: Posts; User: rhodesianhunter

Search: Search took 0.00 seconds.

  1. Replies
    14
    Views
    20,860

    I know, I'm new. This is my first attempt at...

    I know, I'm new. This is my first attempt at programming.

    No, I can't tell why... I'm trying to get it to give a random number between 0 and 3 and then make the corresponding move. How could I...
  2. Replies
    14
    Views
    20,860

    I solved all of my compiler errors, but now when...

    I solved all of my compiler errors, but now when I run my program it quits after choosing r or y. Can anyone tell why?



    #include <stdio.h>
    #include <stdlib.h>
    #include <time.h>


    int...
  3. Replies
    14
    Views
    20,860

    Ok, I have now worked on it to get this: ...

    Ok, I have now worked on it to get this:



    #include <stdio.h>
    #include <stdlib.h>
    #include <time.h>


    int table[4][4] = {{1,2,3,4},{5,6,7,8},{9,10,11,12},{13,14,15,0}};
  4. Replies
    14
    Views
    20,860

    #include #include #include...

    #include <stdio.h>
    #include <stdlib.h>
    #include <time.h>


    int table[4][4] = {{1,2,3,4},{5,6,7,8},{9,10,11,12},{13,14,15,0}};
    int count = 0;

    void displayTable(void);
    void moveNumbers(void);
  5. Replies
    14
    Views
    20,860

    15 puzzle help

    Hey everyone,
    I am working on a project (likely the same one someone posted about earlier under arrays)

    The assignment is to create a 15 - puzzle. At first it is supposed to ask you whether you...
Results 1 to 5 of 5