Click here to Skip to main content
15,913,941 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionwhat is the difference of “class instance” and “object”? Pin
WangZHua24-Oct-08 16:42
WangZHua24-Oct-08 16:42 
AnswerRe: what is the difference of “class instance” and “object”? Pin
David Crow24-Oct-08 16:46
David Crow24-Oct-08 16:46 
GeneralRe: what is the difference of “class instance” and “object”? Pin
WangZHua25-Oct-08 0:42
WangZHua25-Oct-08 0:42 
GeneralRe: what is the difference of “class instance” and “object”? Pin
Nemanja Trifunovic25-Oct-08 15:30
Nemanja Trifunovic25-Oct-08 15:30 
GeneralRe: what is the difference of “class instance” and “object”? Pin
David Crow27-Oct-08 2:48
David Crow27-Oct-08 2:48 
AnswerRe: what is the difference of “class instance” and “object”? Pin
Subrat 470826624-Oct-08 22:56
Subrat 470826624-Oct-08 22:56 
GeneralRe: what is the difference of “class instance” and “object”? Pin
WangZHua25-Oct-08 0:54
WangZHua25-Oct-08 0:54 
GeneralRe: what is the difference of “class instance” and “object”? Pin
Bram van Kampen25-Oct-08 16:51
Bram van Kampen25-Oct-08 16:51 
What language are you trying to disect.

An object is a lump of data that can be managed by a single handle, by whatever means, either by knowing th precice interpretation of the object, or by knowing how to handle it from the 'outside', and accessing it because you know it's type. A Class is a CPP construct, it is a Prototype, or blueprint of a cpp object.
an Instance (of a class or type) is an actual variable of the type, and as such, an object. All cpp instances are objects, Not every object is a CPP class instance. If you understand the underlying ideas, the distinction becomes trivial, and at the same time futile!

Smile | :)

Bram van Kampen

AnswerRe: what is the difference of “class instance” and “object”? Pin
CPallini25-Oct-08 0:24
mveCPallini25-Oct-08 0:24 
QuestionFinding LAN Addresses and Names Pin
Bram van Kampen24-Oct-08 14:58
Bram van Kampen24-Oct-08 14:58 
QuestionRe: Finding LAN Addresses and Names Pin
David Crow24-Oct-08 16:10
David Crow24-Oct-08 16:10 
AnswerRe: Finding LAN Addresses and Names Pin
Bram van Kampen25-Oct-08 16:13
Bram van Kampen25-Oct-08 16:13 
QuestionMessage Maps and SDI Pin
BobInNJ24-Oct-08 11:06
BobInNJ24-Oct-08 11:06 
AnswerRe: Message Maps and SDI Pin
BobInNJ24-Oct-08 11:30
BobInNJ24-Oct-08 11:30 
GeneralRe: Message Maps and SDI Pin
Mark Salsbery24-Oct-08 12:10
Mark Salsbery24-Oct-08 12:10 
GeneralRe: Message Maps and SDI Pin
CPallini24-Oct-08 23:58
mveCPallini24-Oct-08 23:58 
QuestionC++ Profiling... Pin
Drew Stainton24-Oct-08 8:33
Drew Stainton24-Oct-08 8:33 
AnswerRe: C++ Profiling... Pin
David Crow24-Oct-08 9:52
David Crow24-Oct-08 9:52 
GeneralRe: C++ Profiling... Pin
Drew Stainton24-Oct-08 9:59
Drew Stainton24-Oct-08 9:59 
GeneralRe: C++ Profiling... Pin
David Crow24-Oct-08 10:05
David Crow24-Oct-08 10:05 
GeneralRe: C++ Profiling... Pin
Drew Stainton24-Oct-08 12:25
Drew Stainton24-Oct-08 12:25 
AnswerRe: C++ Profiling... Pin
Joe Woodbury24-Oct-08 12:14
professionalJoe Woodbury24-Oct-08 12:14 
GeneralRe: C++ Profiling... Pin
Drew Stainton24-Oct-08 12:26
Drew Stainton24-Oct-08 12:26 
GeneralRe: C++ Profiling... Pin
Cedric Moonen24-Oct-08 21:46
Cedric Moonen24-Oct-08 21:46 
GeneralRe: C++ Profiling... Pin
Drew Stainton25-Oct-08 5:19
Drew Stainton25-Oct-08 5:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.