Results 1 to 3 of 3

Thread: Class

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2000
    Location
    karachi
    Posts
    90

    Post

    Hello
    Can anyone tell me how to create a class
    and why we create class
    Thank u

  2. #2
    Lively Member
    Join Date
    Apr 2000
    Posts
    110

    Wink Breif explanation of classes

    A Class is a kind of module that can be included in your VB program (i am concentrating on classes in VB, nothing else). It allows you to structure your program with an object orientated approach.

    This makes creating a solution to certain programming problems a lot easier, as you do not need to be aware of the inner workings of the class if you have designed it well.

    when you create a class, you create an 'object' that you can use in the rest of your program. You can call functions in the class that return values etc. I think they are a much better way of structuring programs. They make coding much more easier.

    Anyway, this was just a kind of primer. there is much more about classes, but i am tired and am starting to fall asle...zzzzzzzzz

    Later(z)

    REM
    "Innovate, don't immitate."

  3. #3
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width