Click here to Skip to main content
16,006,341 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: please.........................please..................... Pin
Tim Smith3-Mar-02 5:10
Tim Smith3-Mar-02 5:10 
Generalhere is one memory leak Pin
3-Mar-02 5:11
suss3-Mar-02 5:11 
GeneralRe: here is one memory leak Pin
Christian Graus3-Mar-02 9:02
protectorChristian Graus3-Mar-02 9:02 
GeneralRe: Thanks i got the solution Pin
5-Mar-02 4:08
suss5-Mar-02 4:08 
GeneralRe: Thanks i got the solution Pin
5-Mar-02 4:08
suss5-Mar-02 4:08 
GeneralVSS Header comments Pin
Darren Schroeder3-Mar-02 4:39
Darren Schroeder3-Mar-02 4:39 
GeneralRe: VSS Header comments Pin
Anders Molin3-Mar-02 4:43
professionalAnders Molin3-Mar-02 4:43 
Questionusing namespace std; <-- is evil? Pin
Travis D. Mathison3-Mar-02 4:28
Travis D. Mathison3-Mar-02 4:28 
I've heard many people say that using "using namespace std" in your programs is a bad idea. I see it in all the books I read through though .. I assume it's just because they're examples though.

I'm going to assume the reasoning is that you don't want to include anything your not going to be using .. and possible conflictions with other functions???

I've started to change all my code from:

using namespace std;

to:

using std::vector;
using std::deque;
using std::cout;
...

I am finding that the list of using ... get's quite long, hehe. But is this the right way to go? Or is it simply better to just use "using namespace std"


Travis D. Mathison ---
--- After three days without programming, life becomes meaningless ...
AnswerRe: using namespace std; <-- is evil? Pin
Todd Smith3-Mar-02 4:41
Todd Smith3-Mar-02 4:41 
AnswerRe: using namespace std; <-- is evil? Pin
Tim Smith3-Mar-02 5:00
Tim Smith3-Mar-02 5:00 
AnswerRe: using namespace std; <-- is evil? Pin
Travis D. Mathison3-Mar-02 5:07
Travis D. Mathison3-Mar-02 5:07 
AnswerRe: using namespace std; <-- is evil? Pin
Felix Cho3-Mar-02 12:37
Felix Cho3-Mar-02 12:37 
GeneralRe: using namespace std; <-- is evil? Pin
Christian Graus3-Mar-02 12:57
protectorChristian Graus3-Mar-02 12:57 
GeneralRe: using namespace std; <-- is evil? Pin
Tim Smith3-Mar-02 13:11
Tim Smith3-Mar-02 13:11 
GeneralRe: using namespace std; <-- is evil? Pin
Christian Graus3-Mar-02 13:48
protectorChristian Graus3-Mar-02 13:48 
GeneralRe: using namespace std; <-- is evil? Pin
Tim Smith3-Mar-02 13:57
Tim Smith3-Mar-02 13:57 
GeneralRe: using namespace std; <-- is evil? Pin
Christian Graus3-Mar-02 15:24
protectorChristian Graus3-Mar-02 15:24 
GeneralRe: using namespace std; <-- is evil? Pin
Felix Cho4-Mar-02 17:38
Felix Cho4-Mar-02 17:38 
GeneralSend To IrDA printer in Pocket PC Pin
Mesut3-Mar-02 1:18
Mesut3-Mar-02 1:18 
GeneralSimple question Pin
John Cruz3-Mar-02 0:50
John Cruz3-Mar-02 0:50 
GeneralRe: Simple question Pin
Rama Krishna Vavilala3-Mar-02 1:55
Rama Krishna Vavilala3-Mar-02 1:55 
GeneralRe: Simple question Pin
Michael P Butler3-Mar-02 9:55
Michael P Butler3-Mar-02 9:55 
GeneralAn amazingly puzzling ATL enigma! Pin
Nish Nishant2-Mar-02 23:10
sitebuilderNish Nishant2-Mar-02 23:10 
GeneralRe: An amazingly puzzling ATL enigma! Pin
Christian Graus2-Mar-02 23:31
protectorChristian Graus2-Mar-02 23:31 
GeneralRe: An amazingly puzzling ATL enigma! Pin
Mazdak2-Mar-02 23:35
Mazdak2-Mar-02 23:35 

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.