class

This is a discussion on class within the C++ Programming forums, part of the General Programming Boards category; does anybody tell me what is a class...

  1. #1
    Un3
    Guest

    class

    does anybody tell me what is a class

  2. #2
    Registered User
    Join Date
    Jan 2002
    Posts
    80

    Post

    it is a type of structure but it has some levels like public: private and protected used for information hading and inheritence

  3. #3
    Registered User codingmaster's Avatar
    Join Date
    Sep 2002
    Posts
    309

  4. #4
    Registered User
    Join Date
    Sep 2002
    Posts
    1,640
    To put i really simple, a class is a collection of functions and
    variables that go under the same name, the benefits over
    for example a namespaces is that you can forbit functions outside
    the class from using that class's variables

    Of course this are just the superrrrrr basics, follow the links
    above to get more info

  5. #5
    Registered User
    Join Date
    Nov 2002
    Posts
    1,109
    Originally posted by vVv
    http://cplusplus.com/doc/tutorial/tut4-1.html

    A google search will come up with a million other tutorials...
    a search of this forum will come up with more info also.

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, 08:10 AM
  2. Two conceptual questions
    By AntiScience in forum C++ Programming
    Replies: 3
    Last Post: 11-01-2007, 11:36 AM
  3. Defining derivated class problem
    By mikahell in forum C++ Programming
    Replies: 9
    Last Post: 08-22-2007, 02:46 PM
  4. matrix class
    By shuo in forum C++ Programming
    Replies: 2
    Last Post: 07-13-2007, 01:03 AM
  5. Abstract class problem
    By VanJay011379 in forum C++ Programming
    Replies: 9
    Last Post: 07-31-2002, 01:30 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21