Search:

Type: Posts; User: goat37

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    3,775

    Cannot find Bug in my Othello program.

    I have written an Othello game program that you play in the console but it will not let you make a move in the bottom row of the board. The program crashes. I've looked and looked for hours and can't...
  2. Thanks, I made the adjustment and it's working...

    Thanks, I made the adjustment and it's working great.
  3. Sorry, forgot to add comments. I can't figure out...

    Sorry, forgot to add comments. I can't figure out why this code keeps printing out the first structure in the array even though the for loop in the "PrintAGrue" function cycles ok.
  4. Problem printing data from an array of structures

    #include <stdio.h>
    #include <stddef.h>

    typedef struct
    {
    char name[50];
    float weight;
    float height;
    int eaten;
    }Grue;
  5. Replies
    5
    Views
    12,495

    I have to add the item through a function and I...

    I have to add the item through a function and I forgot to say that the list it being written to a text file.
  6. Replies
    5
    Views
    12,495

    fputs with carriage return?

    I am using the fputs function to create a list, but all of the items in the list are on the same line. Any idea how to get the fputs function to put in a carriage return?
  7. Replies
    2
    Views
    1,205

    Using recursion to compute factorials

    I am trying to get this code set up to calculate a factorial. I think I am close, just can't get my head around the process to the factorial.




    #include <stdio.h>

    void Recurse (int);

    int...
Results 1 to 7 of 7