Close

Results 1 to 7 of 7

Thread: C++ Beginnings

  1. #1
    DF VIP Member johnny's Avatar
    Join Date
    Mar 2006
    Location
    Canadialand
    Posts
    1,863
    Thanks
    15
    Thanked:        40
    Karma Level
    351

    Default C++ Beginnings

    Hi,
    I've recently enrolled in Computer Games Technology and one of the modules is C++ (using MS Visual C++). I was wondering if anyone could direct me towards a site or book that's good for beginners. I'm mainly looking for something that gives good advice in the layout of programs etc.

    I still haven't figured out how I learn things so anything at all would be greatly appreciated.

    Regards,
    J

  2. #2
    DF MaSter Smegma's Avatar
    Join Date
    Jan 2001
    Posts
    57
    Thanks
    0
    Thanked:        0
    Karma Level
    285

    Default Re: C++ Beginnings

    Sams Publishing's Teach yourself C++ in 24hrs is a pretty good book, as for structure this is set out when you create the project(usually using the new project wizard).

    I will assume you will be using MFC rather than creating all your own classes.
    You will normally have one class derived from CWinApp and depending on the option selected you will possibly have classes derived from CDocument, CView, CMDIFrameWnd and CMDIChildWnd

  3. #3
    DF VIP Member
    RhinoBanga's Avatar
    Join Date
    Nov 2000
    Location
    127.0.0.1
    Posts
    1,780
    Thanks
    20
    Thanked:        13
    Karma Level
    389

    Default Re: C++ Beginnings

    Defo go for the Sam book ... it's what I used and it'll give you a good basis for C++.

    However keep away from the MFC Doc/View paradigm (basically a Model/View/Controller architecture). There's so much in there that it will overwhelm you. If you need a MVC model (which you probably will if you're going to write a game) you'd be better off reading about how it works and write your own.

  4. #4
    DF VIP Member johnny's Avatar
    Join Date
    Mar 2006
    Location
    Canadialand
    Posts
    1,863
    Thanks
    15
    Thanked:        40
    Karma Level
    351

    Default Re: C++ Beginnings

    Thanks guys, I'll definately give that book a look with your recommendations!

  5. #5
    DF VIP Member Ynox's Avatar
    Join Date
    Dec 2003
    Location
    Cardiff/Cov
    Posts
    191
    Thanks
    0
    Thanked:        0
    Karma Level
    261

    Default Re: C++ Beginnings

    http://www.zeuscmd.com/tutorials/cplusplus/index2.php

    is what i'm using to learn some basic C++ (although i've been a Java dev for the past 4 years so a lot of it is pretty familiar).

  6. #6
    DF Rookie ally_s's Avatar
    Join Date
    Feb 2003
    Location
    Edinburgh
    Posts
    14
    Thanks
    0
    Thanked:        0
    Karma Level
    258

    Default Re: C++ Beginnings

    If you are not coming from a programming background I would recommend the Dietel & Dietel How to Program book.

    http://www.deitel.com/books/cpphtp5/

  7. #7
    DF VIP Member keyscoob's Avatar
    Join Date
    Jan 2001
    Location
    UK
    Posts
    1,222
    Thanks
    0
    Thanked:        2
    Karma Level
    391

    Default Re: C++ Beginnings

    Well, I gotta say that I'm impressed with anyone who can dedicate themselves to learn C++. It was for me a total mind-f**k! I could not get my head around it at all. Thank goodness for VB and PIC Basic, I'd be totally lost without them.

    Though in my younger days I was a OK(ish) with Atari 6502 Assembler. Go figure!

Similar Threads

  1. The Beginnings of Shi'a Islam:
    By 4me2 in forum News & Current Affairs
    Replies: 5
    Last Post: 5th October 2005, 09:37 PM

Social Networking 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
  •