Click here to Skip to main content
15,896,278 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: mfc concatenating files Pin
ns5-Aug-04 1:52
ns5-Aug-04 1:52 
GeneralIcon problem Pin
doctorpi4-Aug-04 7:19
doctorpi4-Aug-04 7:19 
GeneralPaste into existing 256 color icon Pin
bikram singh5-Aug-04 7:15
bikram singh5-Aug-04 7:15 
Generallibrary question Pin
mcsherry4-Aug-04 7:04
mcsherry4-Aug-04 7:04 
GeneralRe: library question Pin
Jaime Stuardo4-Aug-04 7:38
Jaime Stuardo4-Aug-04 7:38 
GeneralRe: library question Pin
Chris Losinger4-Aug-04 8:54
professionalChris Losinger4-Aug-04 8:54 
GeneralMinimum Build with Visual Studio Pin
digwizfox4-Aug-04 6:35
digwizfox4-Aug-04 6:35 
Generaltry/catch Variable Scope Question Pin
Steve Thresher4-Aug-04 6:03
Steve Thresher4-Aug-04 6:03 
Is the following legal C++ code?
try
{
    char s[10]="Error";
    <br>
    if (some condition)
        throw s;
}
catch (const char *s2)
{
    OutputDebugString(s2);
};


From what I've read I would expect the catch block to receive a pointer to stack memory thats no longer reserved for the variable s. Am I correct?


Systems AXIS Ltd - Software for Business ...
GeneralRe: try/catch Variable Scope Question Pin
Nitron4-Aug-04 7:36
Nitron4-Aug-04 7:36 
GeneralRe: try/catch Variable Scope Question Pin
palbano4-Aug-04 7:49
palbano4-Aug-04 7:49 
GeneralRe: try/catch Variable Scope Question Pin
Steve Thresher4-Aug-04 10:07
Steve Thresher4-Aug-04 10:07 
GeneralRe: try/catch Variable Scope Question Pin
palbano4-Aug-04 7:43
palbano4-Aug-04 7:43 
GeneralRe: try/catch Variable Scope Question Pin
Tim Smith4-Aug-04 15:26
Tim Smith4-Aug-04 15:26 
GeneralRe: try/catch Variable Scope Question Pin
Ryan Binns4-Aug-04 18:46
Ryan Binns4-Aug-04 18:46 
QuestionNewbie: Can I do this? Pin
cgriffin4-Aug-04 5:52
cgriffin4-Aug-04 5:52 
AnswerRe: Newbie: Can I do this? Pin
palbano4-Aug-04 7:16
palbano4-Aug-04 7:16 
AnswerRe: Newbie: Can I do this? Pin
digwizfox4-Aug-04 7:31
digwizfox4-Aug-04 7:31 
GeneralRe: Newbie: Can I do this? Pin
cgriffin4-Aug-04 7:45
cgriffin4-Aug-04 7:45 
GeneralRe: Newbie: Can I do this? Pin
digwizfox4-Aug-04 8:46
digwizfox4-Aug-04 8:46 
GeneralRe: Newbie: Can I do this? Pin
cgriffin4-Aug-04 10:10
cgriffin4-Aug-04 10:10 
GeneralRe: Newbie: Can I do this? Pin
digwizfox4-Aug-04 10:24
digwizfox4-Aug-04 10:24 
Generaliphelper Pin
Zizilamoroso4-Aug-04 4:24
Zizilamoroso4-Aug-04 4:24 
GeneralRe: iphelper Pin
David Crow4-Aug-04 4:30
David Crow4-Aug-04 4:30 
GeneralIStorage like functionality in memory Pin
pankajdaga4-Aug-04 4:14
pankajdaga4-Aug-04 4:14 
GeneralRe: IStorage like functionality in memory Pin
Chris Losinger4-Aug-04 5:28
professionalChris Losinger4-Aug-04 5:28 

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.