Click here to Skip to main content
15,895,084 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: where the memory leak? Pin
N a v a n e e t h17-May-09 7:00
N a v a n e e t h17-May-09 7:00 
GeneralRe: where the memory leak? Pin
guqingkui17-May-09 7:10
guqingkui17-May-09 7:10 
AnswerRe: where the memory leak? Pin
Stephen Hewitt17-May-09 6:01
Stephen Hewitt17-May-09 6:01 
GeneralRe: where the memory leak? Pin
guqingkui17-May-09 6:04
guqingkui17-May-09 6:04 
GeneralRe: where the memory leak? Pin
Stephen Hewitt17-May-09 6:34
Stephen Hewitt17-May-09 6:34 
GeneralRe: where the memory leak? Pin
guqingkui17-May-09 6:54
guqingkui17-May-09 6:54 
AnswerRe: where the memory leak? Pin
«_Superman_»17-May-09 16:07
professional«_Superman_»17-May-09 16:07 
AnswerRe: where the memory leak? Pin
Stephen Hewitt19-May-09 20:07
Stephen Hewitt19-May-09 20:07 
QuestionFor gcc-3.3 compiler's Optimization function, who can provide some c source code for each optimize Options? Pin
oleetron16-May-09 22:21
oleetron16-May-09 22:21 
AnswerRe: For gcc-3.3 compiler's Optimization function, who can provide some c source code for each optimize Options? Pin
oleetron16-May-09 22:26
oleetron16-May-09 22:26 
QuestionwndTopMost - getting C2065 error Pin
Still learning how to code16-May-09 21:43
Still learning how to code16-May-09 21:43 
AnswerRe: wndTopMost - getting C2065 error Pin
Cedric Moonen16-May-09 22:15
Cedric Moonen16-May-09 22:15 
AnswerRe: wndTopMost - getting C2065 error Pin
Taran916-May-09 22:17
Taran916-May-09 22:17 
GeneralRe: wndTopMost - getting C2065 error Pin
Still learning how to code17-May-09 2:54
Still learning how to code17-May-09 2:54 
QuestionMessage Map Entries For CAsyncSocet Pin
ForNow16-May-09 17:36
ForNow16-May-09 17:36 
AnswerRe: Message Map Entries For CAsyncSocet Pin
«_Superman_»16-May-09 19:23
professional«_Superman_»16-May-09 19:23 
GeneralRe: Message Map Entries For CAsyncSocet Pin
ForNow16-May-09 21:50
ForNow16-May-09 21:50 
Questiondefault arguments resolution Pin
hawk23reddy16-May-09 17:14
hawk23reddy16-May-09 17:14 
consider the below code
class ab
{
  public:
       virtual void foo(int a = 2) = 0;
};
class ba : public ab
{
  public:
        void foo(int a = 4){std::cout<<a;}
};
int main()
{
 ba tst;
 ab &tst1 = tst;
 tst1.foo();
}


this will print me 2 i.e base class signature is used so is default arguemts are resolved during complie time or runtime and why is the above doing so { but i was excepting it to be 4 (derived default)}
AnswerRe: default arguments resolution Pin
Joe Woodbury16-May-09 18:05
professionalJoe Woodbury16-May-09 18:05 
GeneralRe: default arguments resolution Pin
hawk23reddy16-May-09 18:28
hawk23reddy16-May-09 18:28 
GeneralRe: default arguments resolution Pin
Joe Woodbury16-May-09 18:29
professionalJoe Woodbury16-May-09 18:29 
GeneralRe: default arguments resolution Pin
Stuart Dootson17-May-09 13:04
professionalStuart Dootson17-May-09 13:04 
Questionsizeof function resolution Pin
hawk23reddy16-May-09 17:08
hawk23reddy16-May-09 17:08 
AnswerRe: sizeof function resolution Pin
Joe Woodbury16-May-09 17:57
professionalJoe Woodbury16-May-09 17:57 
AnswerRe: sizeof function resolution Pin
Rick York16-May-09 18:06
mveRick York16-May-09 18:06 

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.