Click here to Skip to main content
15,888,351 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How can I Move a memory pointer in FILE? PinPopular
Richard MacCutchan30-Sep-11 10:10
mveRichard MacCutchan30-Sep-11 10:10 
QuestionSetting font size in popup message Pin
nashhashdash30-Sep-11 1:21
nashhashdash30-Sep-11 1:21 
AnswerRe: Setting font size in popup message Pin
Richard MacCutchan30-Sep-11 2:35
mveRichard MacCutchan30-Sep-11 2:35 
Question'Should I use <code>using namespace std;</code> in my code?' Pin
Stefan_Lang30-Sep-11 0:49
Stefan_Lang30-Sep-11 0:49 
AnswerRe: 'Should I use using namespace std; in my code?' Pin
Erudite_Eric30-Sep-11 0:56
Erudite_Eric30-Sep-11 0:56 
GeneralRe: 'Should I use using namespace std; in my code?' Pin
Stefan_Lang2-Oct-11 22:14
Stefan_Lang2-Oct-11 22:14 
GeneralRe: 'Should I use using namespace std; in my code?' Pin
Erudite_Eric3-Oct-11 22:00
Erudite_Eric3-Oct-11 22:00 
AnswerRe: 'Should I use using namespace std; in my code?' Pin
Niklas L30-Sep-11 1:13
Niklas L30-Sep-11 1:13 
I personally almost never use it, simply because it clutters the global namespace. The worst abuse is to put it in a header file, and thus, polluting the global namespace in all files including that header.

I imagine though it can be useful in some situations, like when dealing with streams and manipulators. The code tends to get quite verbose if it's fully qualified. A local using namespace could be acceptable in my oppinion.

Good topic by the way.
GeneralRe: 'Should I use using namespace std; in my code?' Pin
Stefan_Lang30-Sep-11 1:50
Stefan_Lang30-Sep-11 1:50 
GeneralRe: 'Should I use using namespace std; in my code?' Pin
Niklas L30-Sep-11 2:28
Niklas L30-Sep-11 2:28 
GeneralRe: 'Should I use using namespace std; in my code?' Pin
Albert Holguin30-Sep-11 8:25
professionalAlbert Holguin30-Sep-11 8:25 
GeneralRe: 'Should I use using namespace std; in my code?' Pin
CPallini30-Sep-11 22:13
mveCPallini30-Sep-11 22:13 
GeneralRe: 'Should I use using namespace std; in my code?' Pin
Stefan_Lang2-Oct-11 22:17
Stefan_Lang2-Oct-11 22:17 
GeneralRe: 'Should I use using namespace std; in my code?' Pin
CPallini2-Oct-11 22:35
mveCPallini2-Oct-11 22:35 
GeneralRe: 'Should I use using namespace std; in my code?' Pin
Stefan_Lang3-Oct-11 0:42
Stefan_Lang3-Oct-11 0:42 
AnswerRe: 'Should I use using namespace std; in my code?' Pin
Chris Losinger30-Sep-11 7:47
professionalChris Losinger30-Sep-11 7:47 
AnswerRe: 'Should I use using namespace std; in my code?' Pin
Stephen Hewitt30-Sep-11 20:06
Stephen Hewitt30-Sep-11 20:06 
GeneralRe: 'Should I use using namespace std; in my code?' Pin
Stefan_Lang2-Oct-11 22:20
Stefan_Lang2-Oct-11 22:20 
QuestionPrinting Class Library PrintRotatedText Pin
DanYELL29-Sep-11 16:41
DanYELL29-Sep-11 16:41 
AnswerRe: Printing Class Library PrintRotatedText Pin
Roger Allen30-Sep-11 6:23
Roger Allen30-Sep-11 6:23 
GeneralRe: Printing Class Library PrintRotatedText Pin
DanYELL30-Sep-11 6:35
DanYELL30-Sep-11 6:35 
Questioncall weka classes Pin
salv0329-Sep-11 5:52
salv0329-Sep-11 5:52 
QuestionRe: call weka classes Pin
David Crow29-Sep-11 7:51
David Crow29-Sep-11 7:51 
AnswerRe: call weka classes Pin
Chris Losinger29-Sep-11 9:26
professionalChris Losinger29-Sep-11 9:26 
AnswerRe: WEKA is written in Java, for JAVA not c, and is a collection of Java classes However you can Pin
Software_Developer29-Sep-11 9:51
Software_Developer29-Sep-11 9:51 

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.