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

C / C++ / MFC

 
GeneralWindow API Const/Marco Pin
ting6684-Nov-04 16:50
ting6684-Nov-04 16:50 
GeneralRe: Window API Const/Marco Pin
Aamir Butt4-Nov-04 20:46
Aamir Butt4-Nov-04 20:46 
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 
Should I do this:

#include <iostream>
using namespace std;

or should I do this:

#include <iostream>
using std::cout;
using std::cin;
using std::endl;
.
.
.


I find that making the namespace std global in implementation
file easier to work with, but some people suggest avoid doing
that. Should I? Do you make namespace std global?


Thanks,
Alex

-----------------------------
C++ without virtual functions is not OO. Programming with classes but without dynamic binding is called "object based", but not "object oriented".
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 
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 

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.