Click here to Skip to main content

C / C++ / MFC

 
AnswerRe: how to lock function? PinmvpRichard MacCutchan16-Sep-13 21:41 
AnswerRe: how to lock function? PinmvpCPallini16-Sep-13 22:18 
AnswerRe: how to lock function? PinmemberFreak3016-Sep-13 23:06 
GeneralRe: how to lock function? Pinmemberpasztorpisti17-Sep-13 1:27 
QuestionWhat does it mean when...... PinprofessionalRichard Andrew x6416-Sep-13 11:42 
AnswerRe: What does it mean when...... PinmemberGraham Breach16-Sep-13 12:26 
GeneralRe: What does it mean when...... PinprofessionalRichard Andrew x6416-Sep-13 12:51 
QuestionFeedback appreciated Pinprofessional_Psychopomp_16-Sep-13 1:15 
Hi all,
 
I released an article over the weekend (Don't mess up your #defines[^]).
I received a negetive feedback from a guy from germany:
 
Quote:
For one, this article promotes 80's #define's as if they're still a valuable solution (hint: a global const variable can do the same and is always the better option).
Also the later suggestion is not only obvious (use member variables, duh!), but actually needlessly complicates things: you can name structs just like classes without typedef's, and if you really need a global structure for these things, use templates! How can code with #define's and typedef's be called "Optimized for C++11", when it looks more like C72?

 
Now I am wondering: Is the article that bad? Is he mentioning valid points ( I got him with the "use templates", but I am still not sure whether I can trust him or not - After all, his profile says "Web developer").
Since I want to provide quality articles to the community I'd also want a feedback on what I could improve with the article to make it more valuable and up-to-date.
 
Thanks for any help
- PP
You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, the tallest guy in the NBA is Chinese, the Swiss hold the America's Cup, France is accusing the U.S. of arrogance, Germany doesn't want to go to war, and the three most powerful men in America are named "Bush", "Dick", and "Colon."

AnswerRe: Feedback appreciated Pinmemberpasztorpisti16-Sep-13 1:54 
AnswerRe: Feedback appreciated PinmvpRichard MacCutchan16-Sep-13 1:54 
AnswerRe: Feedback appreciated - OT PinmvpRichard MacCutchan16-Sep-13 21:39 
GeneralRe: Feedback appreciated - OT PinprofessionalSoMad16-Sep-13 22:23 
GeneralRe: Feedback appreciated - OT Pinprofessional_Psychopomp_16-Sep-13 22:59 
AnswerRe: Feedback appreciated PinmemberStefan_Lang17-Sep-13 2:42 
AnswerRe: Feedback appreciated PinmemberVaclav_Sal17-Sep-13 11:21 
Questiondebug begining: Unhandled exception at 0x77cf15de in blast_vib_proc.exe: 0xC00000FD: Stack overflow. Pinmembermrby12314-Sep-13 17:18 
SuggestionRe: debug begining: Unhandled exception at 0x77cf15de in blast_vib_proc.exe: 0xC00000FD: Stack overflow. PinmvpRichard MacCutchan14-Sep-13 22:42 
AnswerRe: debug begining: Unhandled exception at 0x77cf15de in blast_vib_proc.exe: 0xC00000FD: Stack overflow. Pinprofessional_Psychopomp_15-Sep-13 11:39 
Questionas soon as start program got error message - stack overflow Pinmembermrby12313-Sep-13 20:35 
AnswerRe: as soon as start program got error message - stack overflow PinmvpRichard MacCutchan13-Sep-13 23:26 
GeneralRe: as soon as start program got error message - stack overflow PinmvpCPallini14-Sep-13 7:45 
AnswerRe: as soon as start program got error message - stack overflow PinprofessionalJochen Arndt13-Sep-13 23:32 
AnswerRe: as soon as start program got error message - stack overflow PinmemberErudite_Eric14-Sep-13 22:39 
SuggestionGetting forward from console applications to gui PinmemberFarhan_Karim13-Sep-13 4:10 
GeneralRe: Getting forward from console applications to gui PinmvpRichard MacCutchan13-Sep-13 4:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.150327.1 | Last Updated 30 Mar 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid