?
Solved

What's the difference between C++ and C++ Object Oriented Design(OOD) Principles ?

Posted on 2014-03-27
3
Medium Priority
?
362 Views
Last Modified: 2014-03-27
What is C++ without OOD ?
What is C++ with OOD?
0
Comment
Question by:naseeam
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 86

Expert Comment

by:jkr
ID: 39959610
To put it plain and simple: C++ without OOD is an extended version of C whereas C++ with OOD is using C++ the right way.
0
 
LVL 1

Author Comment

by:naseeam
ID: 39959636
If someone has implemented classes in c++, is that C++ with object oriented design ?
0
 
LVL 86

Accepted Solution

by:
jkr earned 1200 total points
ID: 39959658
Yes and no. It depends on how you are using them. If you adhere to the description in http://en.wikipedia.org/wiki/Object-oriented_design it's clear what it is about, but if you just have a simgle class in your code that encapsulates some trivial aspect, then you are using classes, but I'd rather not speak of OOD. Yet there is no 'black and white' scenario, the truth is always going to be somewhere in between...
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.
Suggested Courses

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question