473,387 Members | 1,899 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

C++: OO methodologies

A
Hi,

I have some questions about object-orientated methodologies in the context
of C++:

1) What does object-based mean and object-orientated mean? All i know is
that object orientated builds neatly into object-based.

2) What are the 3-4 most important features of OO programming languages? I
gather they are:
- inheritance
- polymorphism
- ?
- ?

3) How have these features benefit the programmer? I gather:
- reuse
- reliability
- ease of development
- maintenance

but how exactly?
Any help appreciated.

Regards,
A
Jul 22 '05 #1
3 1611
On Wed, 26 Nov 2003 23:23:05 +1030, A wrote:
I have some questions about object-orientated methodologies in the context
of C++: [snip] Any help appreciated.

Methinks the best help you can get is no help, since that will force you
to do your own homework, which may cause you to learn something, which
might make you pass your exams.

--
NPV

"the large print giveth, and the small print taketh away"
Tom Waits - Step right up

Jul 22 '05 #2
A wrote:
Hi,

I have some questions about object-orientated methodologies in the context
of C++:

1) What does object-based mean and object-orientated mean? All i know is
that object orientated builds neatly into object-based. In a book that I read, the author collected the leading OO authorities
in a room and wouldn't let them out until they defined the meaning
of object-oriented. Alas, none could agree on a single definition,
but they could come up with a list common elements of Object Oriented
programming.

Good luck. Try reading through the news:comp.object newsgroup.

2) What are the 3-4 most important features of OO programming languages? I
gather they are:
- inheritance
- polymorphism
- ?
- ? I only know 1 OO language, but I know the concepts. The concepts can
be implemented in non-OO languages.

Why does it matter the importance of the features?
One should concentrate on know when to use a feature and when
not to. For example, inheritance should not be used when
containment will suffice.

3) How have these features benefit the programmer? I gather:
- reuse
- reliability
- ease of development
- maintenance

but how exactly?

By asking the Deep Thought computer, one might come up
the correct answer. But a simple meditation and applying
the Brainstorming technique, one can come up with a list
of benefits from the above.

You might also want to investigate how the OO features
negatively impact a program.

--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book

Jul 22 '05 #3

"A" <A@iprimus.com.au> wrote in message
news:3f********@news.iprimus.com.au...
Hi,

I have some questions about object-orientated methodologies in the context
of C++:

1) What does object-based mean and object-orientated mean? All i know is
that object orientated builds neatly into object-based.


I'm not sure what that last statement means. Most people say that of the 3
key "ingredients" of Object-Oriented programming, if it just has
objects/classes then it's called Object-Based.
As to the rest of your questions (well, that one too I guess), it sounds
suspiciously like homework, so I won't answer unless you have more specific
questions.
Jul 22 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Hubert Baumeister | last post by:
Fifth International Conference on eXtreme Programming and Agile Processes in Software Engineering XP2004 June 6-10, 2004, Garmisch-Partenkirchen, Germany http://www.xp2004.org/
0
by: Sherman Alpert | last post by:
Agile Development Conference Salt Lake City, Utah, USA June 25-26, 2004 www.AgileDevelopmentConference.com Call for Research Papers The Agile Development Conference is an integrated, 4-day...
9
by: Matt Kruse | last post by:
In the past couple of weeks, I've heard a number of references to the term "Ajax". A fellow developer asked me if we should use ajax on a web app, and I asked "what is that?" "Oh, it's a brand...
2
by: yang | last post by:
hi this is the job profile a company is after . the role is for a vb.net / C# programmer (windows). "A demonstrated thorough understanding of the software development lifecycle working to...
18
by: Q. John Chen | last post by:
I have Vidation Controls First One: Simple exluce certain special characters: say no a or b or c in the string: * Second One: I required date be entered in "MM/DD/YYYY" format: //+4 How...
3
by: C | last post by:
I have been working as a Senir .NET Developer for the past 4 years and worked with VB6 and Classic ASP for 4 years previous to this. I have did an interview recently for an Architect Role. They...
111
by: Enteng | last post by:
Hi I'm thinking about learning C as my first programming language. Would you recommend it? Also how do you suggest that I learn it?What books/tutorials should I read for someone like me? Thanks...
3
by: robtyketto | last post by:
Im a student and in preparation for a testIve been given the test questions (or thereabouts, they may be asked in different words or from another perspective). I've been told that they do not...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.