I cannot get it... I am kind of newbie in OOP
This is a discussion on difference between data object and data structure? within the C++ Programming forums, part of the General Programming Boards category; I cannot get it... I am kind of newbie in OOP...
I cannot get it... I am kind of newbie in OOP
Data Structures are simply structures
Data ObjectsCode:struct r{ int a; char b; } rstruct;
Originally Posted by www.objs.com
We shouldn't be quick to criticize unless we can do better.
Code:public function __clone() { die ( "I'm one of a kind" ); }
Well a class is as much a "data structure" as a structure by name - they are in all ways besides default access privileges the same.
Originally Posted by phantomotap