Search:

Type: Posts; User: mkb91

Search: Search took 0.00 seconds.

  1. Thread: 3-D Tic-Tac-Toe

    by mkb91
    Replies
    3
    Views
    10,524

    I rewrote the program entirely since the last...

    I rewrote the program entirely since the last time I posted. I didn't remember whether I had since posted it or not, but here it is, for convenience. @1st reply: I don't have any expertise in...
  2. Thread: 3-D Tic-Tac-Toe

    by mkb91
    Replies
    3
    Views
    10,524

    3-D Tic-Tac-Toe

    Last week I posted a topic for help correcting an error in a Tic-Tac-Toe code, and my assignment for this week is to create a 3-D Tic-Tac-Toe game in C++ that will play against the user. The AI...
  3. Thread: OO Tic-Tac-Toe

    by mkb91
    Replies
    2
    Views
    4,002

    Thank you! I found that one of my rand() function...

    Thank you! I found that one of my rand() function calls was being multiplied by 8 instead of % by it. Thanks for your response. I was trying to figure out a more efficient way of doing the array...
  4. Thread: OO Tic-Tac-Toe

    by mkb91
    Replies
    2
    Views
    4,002

    OO Tic-Tac-Toe

    My assignment was to create and OOP in C++ that would play against the user, but didn't necessarily need to use "AI"; it could randomly choose a tile. This is my third complete rewrite of the...
  5. Replies
    3
    Views
    1,514

    Generating rand() and max value

    The following program actually gives me two errors: The first is that the random generation works only SOMETIMES (no consistent value for aMax that will make it work correctly). The second problem is...
  6. Replies
    4
    Views
    2,592

    1P: Thank you... I don't know where I got that...

    1P: Thank you... I don't know where I got that you could declare a string that way... I could've sworn I'd seen it done that way. Maybe I'm mixing array notation with declaring as a pointer and then...
  7. Replies
    4
    Views
    2,592

    Memory access violation

    The following code compiles, but when I try to run case 4 from main() (the search function), my program crashes. Debugging tells me that "An access violation (segmentation fault) raised in" my...
Results 1 to 7 of 7