Click here to Skip to main content
15,884,177 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to locate the code which was "Detected memory leaks!" Pin
Electron Shepherd7-May-10 4:16
Electron Shepherd7-May-10 4:16 
GeneralRe: How to locate the code which was "Detected memory leaks!" Pin
transoft7-May-10 4:16
transoft7-May-10 4:16 
GeneralRe: How to locate the code which was "Detected memory leaks!" Pin
Maximilien7-May-10 5:07
Maximilien7-May-10 5:07 
AnswerRe: How to locate the code which was "Detected memory leaks!" Pin
Chris Losinger7-May-10 5:02
professionalChris Losinger7-May-10 5:02 
AnswerRe: How to locate the code which was "Detected memory leaks!" Pin
Fareed Rizkalla7-May-10 8:33
Fareed Rizkalla7-May-10 8:33 
QuestionGet the ipaddress of a system which remotely logged into my system Pin
narayanagvs7-May-10 3:10
narayanagvs7-May-10 3:10 
QuestionRe: Get the ipaddress of a system which remotely logged into my system Pin
David Crow7-May-10 3:48
David Crow7-May-10 3:48 
QuestionHow to handle exception from function as we not develope that fuction() and dont kno what type of exception it will throw Pin
ashish8patil7-May-10 0:17
ashish8patil7-May-10 0:17 
Hello All,

consider following code

try
{
function();

}

catch(//what typr should expect)
{

}


fuction is develope from other one and he not mention the type of exception he returning..


/////////////////////////////////////////////////////
if i use this code

catch(std::exception & s)
{
cout<<s.what();

}


i get error in vs2008

Error is :--

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.


Please help ,
thanks.
AnswerRe: How to handle exception from function as we not develope that fuction() and dont kno what type of exception it will throw Pin
tolw7-May-10 0:36
tolw7-May-10 0:36 
GeneralRe: How to handle exception from function as we not develope that fuction() and dont kno what type of exception it will throw Pin
ashish8patil7-May-10 2:21
ashish8patil7-May-10 2:21 
GeneralRe: How to handle exception from function as we not develope that fuction() and dont kno what type of exception it will throw Pin
Stuart Dootson7-May-10 2:37
professionalStuart Dootson7-May-10 2:37 
AnswerRe: You left out the <code>throw() </code>operand Pin
Software_Developer7-May-10 1:28
Software_Developer7-May-10 1:28 
QuestionCode Review Checklist Pin
elizas7-May-10 0:02
elizas7-May-10 0:02 
AnswerRe: Code Review Checklist Pin
LittleYellowBird7-May-10 0:20
LittleYellowBird7-May-10 0:20 
Questionrtd server Pin
trioum7-May-10 0:01
trioum7-May-10 0:01 
QuestionGeneral Guidelines For C++ library development Pin
Ahmed Charfeddine6-May-10 22:12
Ahmed Charfeddine6-May-10 22:12 
AnswerRe: General Guidelines For C++ library development Pin
Emilio Garavaglia6-May-10 23:44
Emilio Garavaglia6-May-10 23:44 
AnswerRe: Walkthrough: Creating and Using a Static Library Pin
Software_Developer7-May-10 0:12
Software_Developer7-May-10 0:12 
QuestionCustom Draw -ListView win32 Pin
arun_pk6-May-10 22:09
arun_pk6-May-10 22:09 
AnswerRe: Custom Draw -ListView win32 Pin
Code-o-mat6-May-10 22:21
Code-o-mat6-May-10 22:21 
GeneralRe: Custom Draw -ListView win32 Pin
arun_pk6-May-10 22:24
arun_pk6-May-10 22:24 
GeneralRe: Custom Draw -ListView win32 Pin
Stuart Dootson6-May-10 23:38
professionalStuart Dootson6-May-10 23:38 
GeneralRe: Custom Draw -ListView win32 Pin
arun_pk7-May-10 2:30
arun_pk7-May-10 2:30 
GeneralRe: Custom Draw -ListView win32 Pin
Stuart Dootson7-May-10 2:33
professionalStuart Dootson7-May-10 2:33 
GeneralRe: Custom Draw -ListView win32 Pin
arun_pk7-May-10 2:41
arun_pk7-May-10 2:41 

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.