Page 3 of 3 FirstFirst 123
Results 21 to 23 of 23

Thread: c++

  1. #21
    Join Date
    Sep 2009
    Beans
    217

    Re: c++

    Quote Originally Posted by r-senior View Post
    I agree, but if it was a homework assignment and the OP wanted an easy way out, there are dozens of complete solutions floating around on various C++ forums.

    Mostly procedural too. What do they teach in C++ programming classes?
    In intro classes? Usually procedural with maybe a note at the end about objects.

    That said, procedural works fine for tick-tack-toe. It's primarily a procedural game and the only benefit using classes brings you is encapsulation of the board implementation (which could be encapsulated anyways by only exporting a "begin_game" function.)

  2. #22
    Join Date
    Jan 2012
    Beans
    161

    Re: c++

    Its not homework, im not in school. im just trying to learn something different....

  3. #23
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: c++

    Quote Originally Posted by wingnut2626 View Post
    Its not homework, im not in school. im just trying to learn something different....
    Then keep asking questions, but the struggle IS important to understanding.

    Have you looked through r-senior's code? It is fairly well written and logical, though it does have more files and parts than someone on Chpt3 just starting C++ should understand. You will come to appreciate nice code like that as much of the real-world code I see is crap in comparison.

    We're here to help as long as you are doing the work.
    Feel free to PM me if you are stuck on a concept.

Page 3 of 3 FirstFirst 123

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •