Click here to Skip to main content
15,922,584 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem with using of CPropertySheet Pin
ssm198411910-Mar-09 20:10
ssm198411910-Mar-09 20:10 
GeneralRe: Problem with using of CPropertySheet Pin
David Crow11-Mar-09 3:07
David Crow11-Mar-09 3:07 
GeneralRe: Problem with using of CPropertySheet Pin
ssm198411913-Mar-09 16:44
ssm198411913-Mar-09 16:44 
QuestionCompiler MATLAB file to C++ Pin
deserterize10-Mar-09 10:51
deserterize10-Mar-09 10:51 
AnswerRe: Compiler MATLAB file to C++ Pin
Yusuf10-Mar-09 11:28
Yusuf10-Mar-09 11:28 
GeneralRe: Compiler MATLAB file to C++ Pin
CPallini10-Mar-09 11:47
mveCPallini10-Mar-09 11:47 
GeneralRe: Compiler MATLAB file to C++ Pin
deserterize11-Mar-09 11:55
deserterize11-Mar-09 11:55 
QuestionMemory Usage of Application. Pin
ERLN10-Mar-09 9:56
ERLN10-Mar-09 9:56 
AnswerRe: Memory Usage of Application. Pin
led mike10-Mar-09 10:18
led mike10-Mar-09 10:18 
AnswerRe: Memory Usage of Application. Pin
David Crow10-Mar-09 10:31
David Crow10-Mar-09 10:31 
GeneralRe: Memory Usage of Application. Pin
led mike10-Mar-09 11:00
led mike10-Mar-09 11:00 
GeneralRe: Memory Usage of Application. Pin
David Crow10-Mar-09 16:47
David Crow10-Mar-09 16:47 
Questionkeyboard control Pin
anuj jamwal10-Mar-09 9:36
anuj jamwal10-Mar-09 9:36 
AnswerRe: keyboard control Pin
led mike10-Mar-09 10:22
led mike10-Mar-09 10:22 
QuestionExceptions, Throwing, Handling Pin
ScotDolan10-Mar-09 9:12
ScotDolan10-Mar-09 9:12 
AnswerRe: Exceptions, Throwing, Handling Pin
Eytukan10-Mar-09 9:17
Eytukan10-Mar-09 9:17 
AnswerRe: Exceptions, Throwing, Handling Pin
Eytukan10-Mar-09 9:24
Eytukan10-Mar-09 9:24 
Oops sorry. I was too quick to respond. If you want to catch any exception and then throw a meaningful one , you should do like
void IOReadFuntion()
{
try
{
 // IO functions.
}
catch(...)
{
  std::exception ex("Error while reading port");
  throw ex;
}
}

void main()
{
  try
{
 IOReadFuntion();
 IOWriteFunction(); 

}
catch(std::exception& ex)
{
 cout<<ex.what()
}

}


Signing off. good night! Sleepy | :zzz:

He never answers anyone who replies to him. I've taken to calling him a retard, which is not fair to retards everywhere.-Christian Graus

GeneralRe: Exceptions, Throwing, Handling Pin
ScotDolan10-Mar-09 9:47
ScotDolan10-Mar-09 9:47 
GeneralRe: Exceptions, Throwing, Handling Pin
Eytukan10-Mar-09 19:48
Eytukan10-Mar-09 19:48 
AnswerRe: Exceptions, Throwing, Handling Pin
Joe Woodbury10-Mar-09 12:58
professionalJoe Woodbury10-Mar-09 12:58 
RantRe: Exceptions, Throwing, Handling Pin
Iain Clarke, Warrior Programmer10-Mar-09 23:24
Iain Clarke, Warrior Programmer10-Mar-09 23:24 
QuestionModule Definiton File Pin
su_penguin10-Mar-09 7:46
su_penguin10-Mar-09 7:46 
AnswerRe: Module Definiton File Pin
su_penguin10-Mar-09 7:50
su_penguin10-Mar-09 7:50 
GeneralRe: Module Definiton File Pin
Eytukan10-Mar-09 8:59
Eytukan10-Mar-09 8:59 
AnswerRe: Module Definiton File Pin
Iain Clarke, Warrior Programmer10-Mar-09 7:50
Iain Clarke, Warrior Programmer10-Mar-09 7:50 

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.