|
-
Jun 24th, 2000, 01:55 AM
#1
Thread Starter
Lively Member
Hello
Can anyone tell me how to create a class
and why we create class
Thank u
-
Jun 24th, 2000, 03:14 AM
#2
Lively Member
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."
-
Jun 24th, 2000, 03:18 AM
#3
transcendental analytic
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|