Click here to Skip to main content
       

C / C++ / MFC

 
QuestionFeedback appreciated Pinprofessional_Psychopomp_16-Sep-13 0:15 
AnswerRe: Feedback appreciated Pinmemberpasztorpisti16-Sep-13 0:54 
AnswerRe: Feedback appreciated PinmvpRichard MacCutchan16-Sep-13 0:54 
AnswerRe: Feedback appreciated - OT PinmvpRichard MacCutchan16-Sep-13 20:39 
GeneralRe: Feedback appreciated - OT PinprofessionalSoMad16-Sep-13 21:23 
GeneralRe: Feedback appreciated - OT Pinprofessional_Psychopomp_16-Sep-13 21:59 
AnswerRe: Feedback appreciated PinmemberStefan_Lang17-Sep-13 1:42 
AnswerRe: Feedback appreciated PinmemberVaclav_Sal17-Sep-13 10:21 
I personally feel that KISS approach is the best way.
The C language #define is THE basic way to implement MN - magic numbers.
Such MN need to be readily identifiable and should stand out.
I have an issue with things like "C++11" or whatever newfangled compiler MS comes up with where MN are covered by layers of convoluted code.
So what if MN can be implemented umpteen different ways.
Mine #define(s)are up front in StdAfx.h file. And if I need   them , I do search for "define" and get the all in one swoop. Try that with global variables.
I really feel that your article is getting attention from "if it is new it must be cool" coders.
Don't worry, be happy...
Cheers Vaclav
Questiondebug begining: Unhandled exception at 0x77cf15de in blast_vib_proc.exe: 0xC00000FD: Stack overflow. Pinmembermrby12314-Sep-13 16:18 
SuggestionRe: debug begining: Unhandled exception at 0x77cf15de in blast_vib_proc.exe: 0xC00000FD: Stack overflow. PinmvpRichard MacCutchan14-Sep-13 21:42 
AnswerRe: debug begining: Unhandled exception at 0x77cf15de in blast_vib_proc.exe: 0xC00000FD: Stack overflow. Pinprofessional_Psychopomp_15-Sep-13 10:39 
Questionas soon as start program got error message - stack overflow Pinmembermrby12313-Sep-13 19:35 
AnswerRe: as soon as start program got error message - stack overflow PinmvpRichard MacCutchan13-Sep-13 22:26 
GeneralRe: as soon as start program got error message - stack overflow PinmvpCPallini14-Sep-13 6:45 
AnswerRe: as soon as start program got error message - stack overflow PinprofessionalJochen Arndt13-Sep-13 22:32 
AnswerRe: as soon as start program got error message - stack overflow PinmemberErudite_Eric14-Sep-13 21:39 
SuggestionGetting forward from console applications to gui PinmemberFarhan_Karim13-Sep-13 3:10 
GeneralRe: Getting forward from console applications to gui PinmvpRichard MacCutchan13-Sep-13 3:44 
GeneralRe: Getting forward from console applications to gui PinmemberFarhan_Karim13-Sep-13 8:09 
GeneralRe: Getting forward from console applications to gui Pinmemberjschell13-Sep-13 11:36 
AnswerRe: Getting forward from console applications to gui Pinprofessional_Psychopomp_15-Sep-13 10:41 
QuestionProblem with const struct initialization in a class Pinprofessional_Psychopomp_13-Sep-13 2:47 
QuestionRe: Problem with const struct initialization in a class PinmemberDavidCrow13-Sep-13 9:52 
AnswerRe: Problem with const struct initialization in a class Pinprofessional_Psychopomp_13-Sep-13 10:02 
AnswerRe: Problem with const struct initialization in a class PinmemberKosta Cherry13-Sep-13 16:17 

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.140415.2 | Last Updated 17 Apr 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid