Thread: C++ Class (Im Teaching)

  1. #1
    Registered User
    Join Date
    Jul 2007
    Posts
    75

    C++ Class (Im Teaching)

    I have started a c++ club for high school students, who are want to eventually end up making their own game. None of them have programmed before, does anyone have any ideas on possible lessons to lead up to making a simple, yet fulfilling c++ game.

    Thanks

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Step one:
    control flow - if, for, while.

    Step two:
    functions.

    Step three:
    pointers.

    Step four:
    structures.

    Step five:
    classes

    Step six:
    design of classes.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    For Narnia! Sentral's Avatar
    Join Date
    May 2005
    Location
    Narnia
    Posts
    719
    If none of them programmed before, I would think the first step is to explain a little bit about how programming languages work. Sure, it might be boring as hell, but it will help lay down some concepts. Explain what syntax is, different variable types, all the operators, and precedence. I'm not a teacher at all, but I'd say for the first few lessons explain general concepts seen in almost all languages (the things I mentioned) before you get into C/C++ specific, and you could explain how the computer interprets computer languages. Then you can go into a "Hello World!" program, and explain every part of that and why it works.

    I wish there was a C++ club at my school, our computer science classes SUCK! We only got up to pointers in the advanced C++ class, what a joke.
    Videogame Memories!
    A site dedicated to keeping videogame memories alive!

    http://www.videogamememories.com/
    Share your experiences with us now!

    "We will game forever!"

  4. #4
    The superhaterodyne twomers's Avatar
    Join Date
    Dec 2005
    Location
    Ireland
    Posts
    2,273
    You're right, mats. They don't need to know about variables at all

  5. #5
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by twomers View Post
    You're right, mats. They don't need to know about variables at all
    Nah, that's just confusing. Well, maybe they can be used for some things occassionally, but only if they are pointers, right?

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  6. #6
    Registered User
    Join Date
    Jul 2007
    Posts
    75
    Thanks, ill probally use those suggestions

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Class design problem
    By h3ro in forum C++ Programming
    Replies: 10
    Last Post: 12-19-2008, 09:10 AM
  2. Specializing class
    By Elysia in forum C++ Programming
    Replies: 6
    Last Post: 09-28-2008, 04:30 AM
  3. matrix class
    By shuo in forum C++ Programming
    Replies: 2
    Last Post: 07-13-2007, 01:03 AM
  4. Replies: 7
    Last Post: 05-26-2005, 10:48 AM