Click here to Skip to main content
15,885,906 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: operator overloading Pin
Roger Stoltz18-Sep-09 2:03
Roger Stoltz18-Sep-09 2:03 
AnswerRe: operator overloading Pin
CPallini18-Sep-09 2:37
mveCPallini18-Sep-09 2:37 
QuestionIssue in porting code from VS6.0 to VS2008 [modified] Pin
Nandu_77b18-Sep-09 0:41
Nandu_77b18-Sep-09 0:41 
AnswerRe: Issue in porting code from VS6.0 to VS2008 Pin
Stuart Dootson18-Sep-09 1:55
professionalStuart Dootson18-Sep-09 1:55 
GeneralRe: Issue in porting code from VS6.0 to VS2008 Pin
Nandu_77b18-Sep-09 4:37
Nandu_77b18-Sep-09 4:37 
GeneralRe: Issue in porting code from VS6.0 to VS2008 Pin
Stuart Dootson18-Sep-09 4:44
professionalStuart Dootson18-Sep-09 4:44 
Questionsize of class Pin
hrishiS17-Sep-09 23:27
hrishiS17-Sep-09 23:27 
AnswerRe: size of class Pin
«_Superman_»17-Sep-09 23:54
professional«_Superman_»17-Sep-09 23:54 
Think of the int datatype.
That is also logical.
It's only when you create a variable like int i; does it becomes physical.
But you can always take the size of int using sizeof(int).

classes and objects are very similar.

The size of a class is the total size of the non-static data members of the class.
When static is used in a class, those elements are actually global but the scope of it is limited to the class.
The size will also include hidden elements like the virtual table pointer etc.

«_Superman
I love work. It gives me something to do between weekends.

GeneralRe: size of class Pin
hrishiS18-Sep-09 0:15
hrishiS18-Sep-09 0:15 
GeneralRe: size of class Pin
CPallini18-Sep-09 0:20
mveCPallini18-Sep-09 0:20 
GeneralRe: size of class Pin
«_Superman_»18-Sep-09 0:36
professional«_Superman_»18-Sep-09 0:36 
AnswerRe: size of class Pin
santhosh-padamatinti18-Sep-09 0:25
santhosh-padamatinti18-Sep-09 0:25 
QuestionVC8 source code editor Pin
uli200017-Sep-09 22:56
uli200017-Sep-09 22:56 
AnswerRe: VC8 source code editor Pin
Naveen17-Sep-09 22:59
Naveen17-Sep-09 22:59 
Questionbeginner question Pin
Game-point17-Sep-09 22:44
Game-point17-Sep-09 22:44 
AnswerRe: beginner question Pin
CPallini17-Sep-09 22:48
mveCPallini17-Sep-09 22:48 
AnswerRe: beginner question Pin
Rajesh R Subramanian17-Sep-09 22:55
professionalRajesh R Subramanian17-Sep-09 22:55 
AnswerRe: beginner question Pin
«_Superman_»17-Sep-09 23:57
professional«_Superman_»17-Sep-09 23:57 
AnswerRe: beginner question Pin
santhosh-padamatinti18-Sep-09 0:36
santhosh-padamatinti18-Sep-09 0:36 
AnswerRe: beginner question Pin
Anil Kumar.Arvapalli18-Sep-09 1:40
Anil Kumar.Arvapalli18-Sep-09 1:40 
Questionhow to read/write long long ... integer from database? Pin
includeh1017-Sep-09 21:39
includeh1017-Sep-09 21:39 
AnswerRe: how to read/write long long ... integer from database? Pin
KarstenK17-Sep-09 21:47
mveKarstenK17-Sep-09 21:47 
AnswerRe: how to read/write long long ... integer from database? [modified] Pin
Saurabh.Garg17-Sep-09 23:31
Saurabh.Garg17-Sep-09 23:31 
Questionpure virtual functions [modified] Pin
hrishiS17-Sep-09 20:36
hrishiS17-Sep-09 20:36 
AnswerRe: pure virtual functions Pin
CPallini17-Sep-09 20:40
mveCPallini17-Sep-09 20:40 

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.