Solved

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

Posted on 2014-03-27
3
358 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 300 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
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.

695 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