Click here to Skip to main content
15,918,889 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionVirtual Destructors in COM? Pin
pmahindrakar4-Nov-04 14:44
pmahindrakar4-Nov-04 14:44 
AnswerRe: Virtual Destructors in COM? Pin
ThatsAlok4-Nov-04 19:03
ThatsAlok4-Nov-04 19:03 
AnswerRe: Virtual Destructors in COM? Pin
User 2155974-Nov-04 20:21
User 2155974-Nov-04 20:21 
GeneralRe: Virtual Destructors in COM? Pin
ThatsAlok4-Nov-04 22:39
ThatsAlok4-Nov-04 22:39 
GeneralWave Sample Rate Pin
Anthony98874-Nov-04 14:30
Anthony98874-Nov-04 14:30 
QuestionShould I make namespace std global? Pin
Link26004-Nov-04 14:04
Link26004-Nov-04 14:04 
AnswerRe: Should I make namespace std global? Pin
Christian Graus4-Nov-04 14:14
protectorChristian Graus4-Nov-04 14:14 
AnswerRe: Should I make namespace std global? Pin
Ryan Binns4-Nov-04 18:15
Ryan Binns4-Nov-04 18:15 
I rarely use either. The whole point of namespaces is to be able to separate groups of things to avoid name clashes. The using directive basically gets rid of the namespaces and puts everything in the global namespace, making the use of the namespace pointless, especially the first form. If I do use the using directive, I use the second form. It's a lot cleaner and helps to prevent clutter of the global namespace.

Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

AnswerRe: Should I make namespace std global? Pin
Link26004-Nov-04 19:26
Link26004-Nov-04 19:26 
GeneralRe: Should I make namespace std global? Pin
Ryan Binns4-Nov-04 20:38
Ryan Binns4-Nov-04 20:38 
GeneralRe: Should I make namespace std global? Pin
Link26004-Nov-04 21:29
Link26004-Nov-04 21:29 
GeneralRe: Should I make namespace std global? Pin
Mike Beckerleg4-Nov-04 22:39
Mike Beckerleg4-Nov-04 22:39 
GeneralRe: Should I make namespace std global? Pin
Antony M Kancidrowski4-Nov-04 23:33
Antony M Kancidrowski4-Nov-04 23:33 
GeneralRe: Should I make namespace std global? Pin
Ryan Binns5-Nov-04 1:36
Ryan Binns5-Nov-04 1:36 
GeneralAutomatically unlock workstation Pin
xueshunnai4-Nov-04 11:59
xueshunnai4-Nov-04 11:59 
GeneralRe: Automatically unlock workstation Pin
Ryan Binns4-Nov-04 18:19
Ryan Binns4-Nov-04 18:19 
GeneralProperty Window Pin
goacas4-Nov-04 9:34
goacas4-Nov-04 9:34 
Questionstarting an image project in VC++? Pin
ashsri4-Nov-04 9:33
ashsri4-Nov-04 9:33 
AnswerRe: starting an image project in VC++? Pin
ThatsAlok4-Nov-04 17:10
ThatsAlok4-Nov-04 17:10 
GeneralHelp me debug SetDIBitsToDevice Pin
Budric B.4-Nov-04 8:39
Budric B.4-Nov-04 8:39 
GeneralOops found my problem Pin
Budric B.4-Nov-04 8:42
Budric B.4-Nov-04 8:42 
GeneralRe: Oops found my problem Pin
John R. Shaw5-Nov-04 14:34
John R. Shaw5-Nov-04 14:34 
GeneralSmall icons Pin
lillah4-Nov-04 8:21
lillah4-Nov-04 8:21 
GeneralRe: Small icons Pin
ThatsAlok4-Nov-04 17:12
ThatsAlok4-Nov-04 17:12 
GeneralRe: Small icons Pin
lillah4-Nov-04 21:13
lillah4-Nov-04 21:13 

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.