Thread: Do I need Classes ?

  1. #1
    Registered User
    Join Date
    Mar 2004

    Do I need Classes ?

    some please help a newbie. I know that you all know exactly what you are doing and can code like crazy.

    I on the other hand....

    Do I need classes to say break a program up into smaller parts ?

    Lets say a program has 8 functions. Can I make 8 header files including those functions without classes or are classes needed to make that kind of thing work ?

    Thank you and people who are angry at the world need not answer.

  2. #2
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Classes are only a programming concept, it's in no way required. It makes many things easier, and can bring a more logical structure to your program.

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  3. #3
    Registered User
    Join Date
    Jan 2003
    Classes can be useful when used properly. However, when abused, they can bloat and ruin your code. Experience will tell you when classes are needed.

  4. #4
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Contact me via PM and I have a project you might be interested in that will certainly help you.

    I really want to help but on the board it is a bit you must do some personal study either through books or research on the internet.

    Just PM me about this post and I'll present my idea to you to see if you are interested.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Can you Initialize all classes once with New?
    By peacerosetx in forum C++ Programming
    Replies: 12
    Last Post: 07-02-2008, 10:47 AM
  2. Multiple Inheritance - Size of Classes?
    By Zeusbwr in forum C++ Programming
    Replies: 10
    Last Post: 11-26-2004, 09:04 AM
  3. im extreamly new help
    By rigo305 in forum C++ Programming
    Replies: 27
    Last Post: 04-23-2004, 11:22 PM
  4. Exporting VC++ classes for use with VB
    By Helix in forum Windows Programming
    Replies: 2
    Last Post: 12-29-2003, 05:38 PM
  5. include question
    By Wanted420 in forum C++ Programming
    Replies: 8
    Last Post: 10-17-2003, 03:49 AM