12-03-2001, 04:12 PM
Hey, I'm gonna start programming on C++ soon, can some one tell me some of the main differences between C and VB?
I heard something about C being object oriented, what does that mean?
12-03-2001, 05:02 PM
Dont get C++ confused with C.
And yes, C++ is object orientated. We call this OOP (object orientated programming). This means we deal with objects, like in VB, which have characteristics such as inheritance and polymorphism. VB works on a similar principle, using classes and such, but it isnt TRUE OOP, due to the lack of inheritance.
(I'm sure some mod is going to jump in here and correct me).
12-03-2001, 05:15 PM
I'm sure you mean me Squirm, but sorry, it is an acceptable belief that a
language has to support true inheritance to be fully OOP. It just isn't the
only belief. images/icons/wink.gif
12-04-2001, 08:24 AM
I think the generally accepted terminology is to call the use of languages that support inheritence and polymorphism, Object Oriented Programming and the use of those that don't, Object Based Programming.
12-04-2001, 08:43 AM
VB does support polymorphism (except for operator and function
overloading) and also supports interface inheritance. This qualifies it, under
one definition, as an OOP language.
12-04-2001, 08:52 AM
I agree. VB is a weird hybrid isn't it images/icons/smile.gif.
12-04-2001, 09:00 AM
I guess with VB.net, we will get complete OOP, but it will cost us greatly in
12-04-2001, 09:01 AM
And code security. images/icons/frown.gif