Click here to Skip to main content
15,891,184 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How much Memory my App uses? Pin
Nuri Ismail4-Jun-10 5:49
Nuri Ismail4-Jun-10 5:49 
Question(Probably a non-question) CString GetLength vs. IsEmpty ? Pin
Maximilien2-Jun-10 4:13
Maximilien2-Jun-10 4:13 
AnswerRe: (Probably a non-question) CString GetLength vs. IsEmpty ? Pin
Aescleal2-Jun-10 4:25
Aescleal2-Jun-10 4:25 
AnswerRe: (Probably a non-question) CString GetLength vs. IsEmpty ? Pin
David Crow2-Jun-10 5:52
David Crow2-Jun-10 5:52 
GeneralRe: (Probably a non-question) CString GetLength vs. IsEmpty ? Pin
Emilio Garavaglia2-Jun-10 7:15
Emilio Garavaglia2-Jun-10 7:15 
GeneralRe: (Probably a non-question) CString GetLength vs. IsEmpty ? Pin
David Crow2-Jun-10 8:08
David Crow2-Jun-10 8:08 
GeneralRe: (Probably a non-question) CString GetLength vs. IsEmpty ? Pin
Emilio Garavaglia2-Jun-10 20:53
Emilio Garavaglia2-Jun-10 20:53 
QuestionInterview question Pin
AkashAg2-Jun-10 2:28
AkashAg2-Jun-10 2:28 
Hi All,

I have been asked these question in a telephonic interview:

1) Why some header files have there definitions in itslef and don't have a '.cpp' for definition? Classic examples are vector.h and other STL files. What will be the impact of having definitions in a separate cpp file/

2) What is the disadvantage if I make all my functions inline and inline request is always acknowledged by the compiler?

I told him that recursion is not possible, load time will be more, page faults will be more, binary size will increase. But he was looking for some other things as well.

It will be very much helpful if someone can fulfill these queries with explanatory notes.

BR,
Akash
AnswerRe: Interview question Pin
Aescleal2-Jun-10 2:38
Aescleal2-Jun-10 2:38 
GeneralRe: Interview question Pin
AkashAg2-Jun-10 2:45
AkashAg2-Jun-10 2:45 
QuestionDllRegister Server Error 0x8007007e Pin
Schehaider_Aymen2-Jun-10 0:58
Schehaider_Aymen2-Jun-10 0:58 
AnswerRe: DllRegister Server Error 0x8007007e Pin
KarstenK2-Jun-10 2:40
mveKarstenK2-Jun-10 2:40 
GeneralRe: DllRegister Server Error 0x8007007e Pin
Schehaider_Aymen2-Jun-10 3:05
Schehaider_Aymen2-Jun-10 3:05 
GeneralRe: DllRegister Server Error 0x8007007e Pin
Schehaider_Aymen2-Jun-10 3:29
Schehaider_Aymen2-Jun-10 3:29 
GeneralRe: DllRegister Server Error 0x8007007e Pin
KarstenK2-Jun-10 3:34
mveKarstenK2-Jun-10 3:34 
GeneralRe: DllRegister Server Error 0x8007007e Pin
Schehaider_Aymen2-Jun-10 4:24
Schehaider_Aymen2-Jun-10 4:24 
GeneralRe: DllRegister Server Error 0x8007007e Pin
KarstenK2-Jun-10 4:33
mveKarstenK2-Jun-10 4:33 
GeneralRe: DllRegister Server Error 0x8007007e Pin
Code-o-mat2-Jun-10 4:30
Code-o-mat2-Jun-10 4:30 
GeneralRe: DllRegister Server Error 0x8007007e Pin
Schehaider_Aymen2-Jun-10 5:01
Schehaider_Aymen2-Jun-10 5:01 
AnswerRe: DllRegister Server Error 0x8007007e Pin
Schehaider_Aymen2-Jun-10 5:31
Schehaider_Aymen2-Jun-10 5:31 
Questionwin32 service crashing in vista Pin
Subrat Patnaik2-Jun-10 0:01
Subrat Patnaik2-Jun-10 0:01 
AnswerRe: win32 service crashing in vista Pin
Aescleal2-Jun-10 0:41
Aescleal2-Jun-10 0:41 
QuestionVS2010 - debug version compiles, release version does not PinPopular
Ed SHaw1-Jun-10 22:38
Ed SHaw1-Jun-10 22:38 
AnswerRe: VS2010 - debug version compiles, release version does not Pin
KarstenK2-Jun-10 0:23
mveKarstenK2-Jun-10 0:23 
GeneralRe: VS2010 - debug version compiles, release version does not Pin
wishmaster802-Jun-10 2:20
wishmaster802-Jun-10 2:20 

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.