Click here to Skip to main content
15,911,646 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Linker options Pin
Stephen Kellett6-Aug-01 11:20
Stephen Kellett6-Aug-01 11:20 
GeneralCPropertyPageEx Titles Pin
3-Aug-01 4:16
suss3-Aug-01 4:16 
GeneralCommand Line String Pin
Steve Thresher3-Aug-01 3:27
Steve Thresher3-Aug-01 3:27 
GeneralRe: Command Line String Pin
3-Aug-01 3:38
suss3-Aug-01 3:38 
GeneralRe: Command Line String Pin
Steve Thresher3-Aug-01 4:25
Steve Thresher3-Aug-01 4:25 
GeneralHelp, help, I am a retard Pin
3-Aug-01 3:09
suss3-Aug-01 3:09 
GeneralRe: Help, help, I am a retard Pin
Not Active3-Aug-01 3:22
mentorNot Active3-Aug-01 3:22 
GeneralRe: Help, help, I am a retard Pin
Tim Deveaux3-Aug-01 5:38
Tim Deveaux3-Aug-01 5:38 
Yes, but don't forget the :: op with no namespace spec looks for vars in the global namespace - vars can be hidden if declared at an intermediate scope:

// global scope - commented out, compiler will complain...
// int something(1);
 
int main(int argc, char* argv[])
{
    // full fn scope
    int something(2);

    {
        // local block scope
        int something(3);

        cout << something << ::something << endl;
    }

    return 0;
}


This code won't compile until you uncomment the global decl for something.
The fn scope something is effectively hidden from code inside the local block.
Generala question about Project workspace Pin
Gérald Mercet3-Aug-01 3:06
Gérald Mercet3-Aug-01 3:06 
GeneralRe: a question about Project workspace Pin
Jake Palmer3-Aug-01 7:09
Jake Palmer3-Aug-01 7:09 
GeneralDialog Background Pin
3-Aug-01 2:26
suss3-Aug-01 2:26 
GeneralRe: Dialog Background Pin
Christian Graus4-Aug-01 2:43
protectorChristian Graus4-Aug-01 2:43 
QuestionDao Database ?? Pin
otvac3-Aug-01 1:59
otvac3-Aug-01 1:59 
AnswerRe: Dao Database ?? Pin
Tim Deveaux3-Aug-01 6:05
Tim Deveaux3-Aug-01 6:05 
AnswerRe: Dao Database ?? Pin
Carlos Antollini3-Aug-01 6:50
Carlos Antollini3-Aug-01 6:50 
GeneralSkins without MFC Pin
3-Aug-01 1:57
suss3-Aug-01 1:57 
GeneralBitmap Question Pin
Nick Armstrong3-Aug-01 1:39
Nick Armstrong3-Aug-01 1:39 
GeneralRe: Bitmap Question Pin
jerry0davis3-Aug-01 1:49
jerry0davis3-Aug-01 1:49 
GeneralRe: Bitmap Question Pin
Nick Armstrong3-Aug-01 2:11
Nick Armstrong3-Aug-01 2:11 
GeneralRe: Bitmap Question Pin
Not Active3-Aug-01 6:25
mentorNot Active3-Aug-01 6:25 
GeneralDuplicate Pin
3-Aug-01 1:25
suss3-Aug-01 1:25 
GeneralRe: Duplicate Pin
3-Aug-01 1:55
suss3-Aug-01 1:55 
GeneralRe: Duplicate Pin
3-Aug-01 2:45
suss3-Aug-01 2:45 
GeneralRe: Duplicate Pin
Baafie4-Aug-01 8:57
Baafie4-Aug-01 8:57 
GeneralFirst articles ready ... Pin
.::RockNix::.3-Aug-01 1:17
.::RockNix::.3-Aug-01 1:17 

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.