Search:

Type: Posts; User: simpleblue

Search: Search took 0.01 seconds.

  1. So much has changed that I figured I'd post the...

    So much has changed that I figured I'd post the newest code. I hope that's okay.

    Changes:

    - better notes
    - board is now a dynamic vector as people suggested
    - playerType is now a vector
    - if...
  2. This code works as far as I know: //...

    This code works as far as I know:


    // main.cpp
    #include <iostream>
    #include "tictactoe.h"

    int main()
    {
  3. I'm going to leave the ASCII code for later. A...

    I'm going to leave the ASCII code for later. A big reason is that it does not interest me much at this point and was not a big priority. I find I need to do exciting things or I get bored fast. I...
  4. I've added what I can so far. I will need to...

    I've added what I can so far. I will need to learn a few more things to take advantage of all the suggestions given, but for now this is what I have:


    // main.cpp
    #include <iostream>
    #include...
  5. Thank you all so much for all this feedback! I'm...

    Thank you all so much for all this feedback! I'm sorry I had taken so long to reply. I didn't think anyone was going to answer this thread and I gave up on it. What a surprise it was to find it!

    ...
  6. I can understand. It can be a lot of code to look...

    I can understand. It can be a lot of code to look at. I didn't expect anyone to read it all or run it. And I don't want advice on the program, just the programming style. Does it look like it would...
  7. There is no input for this post? :( I don't need...

    There is no input for this post? :( I don't need anyone to run this program, and I know it's not the most exciting program. I am new to programming and just wanted someone to tell me if my...
  8. // main.cpp #include #include...

    // main.cpp
    #include <iostream>
    #include "tictactoe.h"

    int main()
    {

    TicTacToe Game;

    Game.welcome();
  9. Connect four game - Works and would like input

    This game was originally a Tictactoe game if you couldn't tell already.

    I know that there are things I could add to the game such as computer strategy instead of a random move, or perhaps a menu...
  10. Thanks Elysia for telling me this. It's something...

    Thanks Elysia for telling me this. It's something I need to hear. I just took a look at the beginning parts of this book and it looks like something I can digest. I'm going to try to make programs...
  11. I understand I haven't deleted the pointer so...

    I understand I haven't deleted the pointer so it'll leak... I've read about half of the book 'C++ Primer Plus' and have not yet seem this topic covered. I find that I benefit from programming instead...
  12. Thank you for the quick response. I haven't...

    Thank you for the quick response.

    I haven't learned much about templates or explored the vector area yet... So far I have:


    int main()
    {
    char * cstr;
    cstr = new char [100];
  13. Convert string to char or use 2d array of char?

    I'm making a pacman video game and I would like to display the game board using the printw command from the ncurses library (Linux). I am not able to do this as the printw function only accepts a...
Results 1 to 13 of 13