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...
Type: Posts; User: mkb91
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...
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...
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...
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...
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...
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...
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...