Thread: Homework?

  1. #16
    Registered User Cloud6's Avatar
    Join Date
    Jul 2006
    Location
    USA
    Posts
    11
    Quote Originally Posted by Wraithan
    Most people don't give one on one help. There are plenty of sites all over the net to learn the different APIs and more about the language, since you say you have only a bit of practice with arrays, I think you should stay away from most of the graphical APIs and stick more with the base language. To make a TRPG you use all sorts of storage containers, and classes. I don't have any links off hand, but look at the top of the game programing forum for links.
    Thanks for your help.

    So you're saying that I should lay off SDL? and just stick with C++ base language for now? Well, that does sound logical. Okay, I'll try that. Thanks again!

    @twomers:

    For some reason, I cant view member profiles of anyone. It says I dont have permission to. But if you can add me, that would be nice. MSNIM is [email protected].
    Last edited by Cloud6; 07-13-2006 at 01:49 PM.

  2. #17
    The superhaterodyne twomers's Avatar
    Join Date
    Dec 2005
    Location
    Ireland
    Posts
    2,273
    >> So you're saying that I should lay off SDL? and just stick with C++ base language for now?

    Definately! Do you know about classes etc? Inheritance? STL? I'd recommend looking into all them if you don't know about them, or look into them further if you're not comfortable with them.

  3. #18
    Registered User Cloud6's Avatar
    Join Date
    Jul 2006
    Location
    USA
    Posts
    11
    Quote Originally Posted by twomers
    >> So you're saying that I should lay off SDL? and just stick with C++ base language for now?

    Definately! Do you know about classes etc? Inheritance? STL? I'd recommend looking into all them if you don't know about them, or look into them further if you're not comfortable with them.
    I sortof know classes, but Wraithan said that I have to be very familiar with them so Im brushing up on that at the moment. I'll be working on the other two, after I feel Im familiar enough with classes. I cant really see what they're good for though, I mean anything you can do with classes, you can do without them right?

  4. #19
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Actually, being this just my personal opinion, you shouldn't worry with classes for now. In fact, along with templates and generic programming, that is probably best left for the end. Some minimal knowledge may be helpful. But mainly to know how to differentiate a class from a built-in type and how to write a very simple class... nothing more fancy than this.

    Classes and templates are some of the most complex aspects of C++: Coupled with OOP (inheritance, data abstraction and dynamic binding) you have an whole new and complex world out there of which many thick books were written. The complexity of classes (even standalone classes) is also better understood later when more basic concepts were already taught and fully understood.

    I suggest you start C++ from the bottom up with the help of a good book (many suggestions exist on a sticky thread on this forum). Accelerated C++ and C++ Primer are perhaps two of the best. (I personally prefer C++ Primer). Accelerated C++ is a book that brushes the concept of teaching more complex things first and only then going into the details. However, even this very successful book only starts talking about classes seriously after you read half of it.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  5. #20
    The Richness... Richie T's Avatar
    Join Date
    Jan 2006
    Location
    Ireland
    Posts
    469
    I like this resource - handy for quick lookup of a function/keyword,
    ASCII/Operator precedence charts, loads on STL. Newbies can
    never have enough "good" resources. NOTE - the section on C is
    aimed at C from a C++ perspective - hence the casting of malloc
    and other things that are not good for pure C, but are necessary
    for C++
    No No's:
    fflush (stdin); gets (); void main ();


    Goodies:
    Example of fgets (); The FAQ, C/C++ Reference


    My Gear:
    OS - Windows XP
    IDE - MS Visual C++ 2008 Express Edition


    ASCII stupid question, get a stupid ANSI

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Homework
    By kermi3 in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 11-03-2001, 04:39 PM
  2. Homework
    By kermi3 in forum C++ Programming
    Replies: 15
    Last Post: 09-26-2001, 03:16 PM
  3. Homework
    By kermi3 in forum Windows Programming
    Replies: 5
    Last Post: 09-15-2001, 11:48 AM
  4. Homework
    By kermi3 in forum C Programming
    Replies: 0
    Last Post: 09-10-2001, 01:26 PM