Search:

Type: Posts; User: theman29

Search: Search took 0.00 seconds.

  1. Replies
    11
    Views
    1,780

    never mind, i got the program to work, i just...

    never mind, i got the program to work, i just doesnt say "tie game" anymore...i can live with that

    thanks for helping me out, i needed it big time
  2. Replies
    11
    Views
    1,780

    i understand for loops, but i didnt know how to...

    i understand for loops, but i didnt know how to loop enter_symbol

    i just copied it there to show u where i was trying to start it

    should i get rid of the while loop and make a for loop for...
  3. Replies
    11
    Views
    1,780

    i tried to loop enter_symbol, but then my brain...

    i tried to loop enter_symbol, but then my brain started hurting

    i don't think i did it right, but this is what i tried

    i keep getting "where would u like to enter symbol" over and over

    ...
  4. Replies
    11
    Views
    1,780

    i think i may have taken the long way with this...

    i think i may have taken the long way with this code, but all i need for it to do now is repeat asking the player to enter another symbol...instead of it saying "Tie game" after the first move


    ...
  5. Replies
    11
    Views
    1,780

    when i use this, it says theres a syntax error...

    when i use this, it says theres a syntax error before "]" token on line 14, 16, and 18


    #include<stdio.h>

    void enter_symbol(char tic_tac_toe[][2], int player);
    void print_board(char...
  6. Replies
    11
    Views
    1,780

    that was a mistake, i took that part out when i...

    that was a mistake, i took that part out when i was messing around with the code and i never put it back...still doesn't work



    #include<stdio.h>

    void enter_symbol(char tic_tac_toe[][2], int...
  7. Replies
    11
    Views
    1,780

    help with tictactoe

    i need to write a program that
    1) Prompts a user to enter the current state of a board.
    2) Print out the board
    3) Determines if there is a winner, and, if there is, who it is.

    this is what i...
  8. Replies
    10
    Views
    1,422

    there are still random things that i dont...

    there are still random things that i dont understand about some of the parts in this program so for those parts i copied from basic examples in my textbook and made my own ideas on how to apply them...
  9. Replies
    10
    Views
    1,422

    i need it to print out a tictactoe board i...

    i need it to print out a tictactoe board

    i have no clue where i went wrong, it just doesnt print the board after the player puts in letters at the coordinates
  10. Replies
    10
    Views
    1,422

    Problem with tic tac toe code

    #include<stdio.h>


    int
    main(void)
    {
    char tic_tac_toe[3][3] =
    {{' ', ' ', ' '}, {' ', ' ', ' '}, {' ', ' ', ' '}};

    char i, j;
Results 1 to 10 of 10