Solved

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

Posted on 2014-03-27
3
354 Views
Last Modified: 2014-03-27
What is C++ without OOD ?
What is C++ with OOD?
0
Comment
Question by:naseeam
  • 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
 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
why "." vs "->" 23 119
Implementing a ResolveEventHandler in C++ 13 114
What is the real difference between C++ and Visual C++.NET? 7 106
Writing a parser for java language 4 71
Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
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 goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
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.

914 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now