Click here to Skip to main content
12,948,105 members (75,420 online)

C / C++ / MFC

 
AnswerRe: how to lock function? Pin
Richard MacCutchan16-Sep-13 20:41
mvpRichard MacCutchan16-Sep-13 20:41 
AnswerRe: how to lock function? Pin
CPallini16-Sep-13 21:18
mvpCPallini16-Sep-13 21:18 
AnswerRe: how to lock function? Pin
Freak3016-Sep-13 22:06
memberFreak3016-Sep-13 22:06 
GeneralRe: how to lock function? Pin
pasztorpisti17-Sep-13 0:27
memberpasztorpisti17-Sep-13 0:27 
QuestionWhat does it mean when...... Pin
Richard Andrew x6416-Sep-13 10:42
professionalRichard Andrew x6416-Sep-13 10:42 
AnswerRe: What does it mean when...... Pin
Graham Breach16-Sep-13 11:26
memberGraham Breach16-Sep-13 11:26 
GeneralRe: What does it mean when...... Pin
Richard Andrew x6416-Sep-13 11:51
professionalRichard Andrew x6416-Sep-13 11:51 
QuestionFeedback appreciated Pin
_Psychopomp_16-Sep-13 0:15
professional_Psychopomp_16-Sep-13 0: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 Pin
pasztorpisti16-Sep-13 0:54
memberpasztorpisti16-Sep-13 0:54 
AnswerRe: Feedback appreciated Pin
Richard MacCutchan16-Sep-13 0:54
mvpRichard MacCutchan16-Sep-13 0:54 
AnswerRe: Feedback appreciated - OT Pin
Richard MacCutchan16-Sep-13 20:39
mvpRichard MacCutchan16-Sep-13 20:39 
GeneralRe: Feedback appreciated - OT Pin
SoMad16-Sep-13 21:23
professionalSoMad16-Sep-13 21:23 
GeneralRe: Feedback appreciated - OT Pin
_Psychopomp_16-Sep-13 21:59
professional_Psychopomp_16-Sep-13 21:59 
AnswerRe: Feedback appreciated Pin
Stefan_Lang17-Sep-13 1:42
memberStefan_Lang17-Sep-13 1:42 
AnswerRe: Feedback appreciated Pin
Vaclav_Sal17-Sep-13 10:21
memberVaclav_Sal17-Sep-13 10:21 
Questiondebug begining: Unhandled exception at 0x77cf15de in blast_vib_proc.exe: 0xC00000FD: Stack overflow. Pin
mrby12314-Sep-13 16:18
membermrby12314-Sep-13 16:18 
SuggestionRe: debug begining: Unhandled exception at 0x77cf15de in blast_vib_proc.exe: 0xC00000FD: Stack overflow. Pin
Richard MacCutchan14-Sep-13 21:42
mvpRichard MacCutchan14-Sep-13 21:42 
AnswerRe: debug begining: Unhandled exception at 0x77cf15de in blast_vib_proc.exe: 0xC00000FD: Stack overflow. Pin
_Psychopomp_15-Sep-13 10:39
professional_Psychopomp_15-Sep-13 10:39 
Questionas soon as start program got error message - stack overflow Pin
mrby12313-Sep-13 19:35
membermrby12313-Sep-13 19:35 
AnswerRe: as soon as start program got error message - stack overflow Pin
Richard MacCutchan13-Sep-13 22:26
mvpRichard MacCutchan13-Sep-13 22:26 
GeneralRe: as soon as start program got error message - stack overflow Pin
CPallini14-Sep-13 6:45
mvpCPallini14-Sep-13 6:45 
AnswerRe: as soon as start program got error message - stack overflow Pin
Jochen Arndt13-Sep-13 22:32
professionalJochen Arndt13-Sep-13 22:32 
AnswerRe: as soon as start program got error message - stack overflow Pin
Erudite_Eric14-Sep-13 21:39
memberErudite_Eric14-Sep-13 21:39 
SuggestionGetting forward from console applications to gui Pin
Farhan_Karim13-Sep-13 3:10
memberFarhan_Karim13-Sep-13 3:10 
GeneralRe: Getting forward from console applications to gui Pin
Richard MacCutchan13-Sep-13 3:44
mvpRichard MacCutchan13-Sep-13 3:44 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.170524.1 | Last Updated 23 May 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid