Click here to Skip to main content
14,447,035 members

C / C++ / MFC

 
AnswerRe: Windows 8.1 Event log problem Pin
zeki yugnak24-Jun-15 5:16
Memberzeki yugnak24-Jun-15 5:16 
QuestionHow to best pull together data from multiple sources (hardware sensors) in Win32? Pin
MW-83121724-Jun-15 3:29
MemberMW-83121724-Jun-15 3:29 
AnswerRe: How to best pull together data from multiple sources (hardware sensors) in Win32? Pin
CPallini24-Jun-15 3:37
mveCPallini24-Jun-15 3:37 
GeneralRe: How to best pull together data from multiple sources (hardware sensors) in Win32? Pin
MW-83121724-Jun-15 4:08
MemberMW-83121724-Jun-15 4:08 
GeneralRe: How to best pull together data from multiple sources (hardware sensors) in Win32? Pin
CPallini24-Jun-15 4:18
mveCPallini24-Jun-15 4:18 
GeneralRe: How to best pull together data from multiple sources (hardware sensors) in Win32? Pin
Albert Holguin24-Jun-15 12:57
professionalAlbert Holguin24-Jun-15 12:57 
GeneralRe: How to best pull together data from multiple sources (hardware sensors) in Win32? Pin
CPallini24-Jun-15 13:11
mveCPallini24-Jun-15 13:11 
GeneralRe: How to best pull together data from multiple sources (hardware sensors) in Win32? Pin
Albert Holguin24-Jun-15 13:16
professionalAlbert Holguin24-Jun-15 13:16 
AnswerRe: How to best pull together data from multiple sources (hardware sensors) in Win32? Pin
Albert Holguin24-Jun-15 13:04
professionalAlbert Holguin24-Jun-15 13:04 
GeneralRe: How to best pull together data from multiple sources (hardware sensors) in Win32? Pin
MW-83121725-Jun-15 0:55
MemberMW-83121725-Jun-15 0:55 
GeneralRe: How to best pull together data from multiple sources (hardware sensors) in Win32? Pin
Albert Holguin25-Jun-15 10:24
professionalAlbert Holguin25-Jun-15 10:24 
GeneralRe: How to best pull together data from multiple sources (hardware sensors) in Win32? Pin
MW-83121726-Jun-15 4:04
MemberMW-83121726-Jun-15 4:04 
QuestionSDI Project Question Pin
Arrin23-Jun-15 10:00
MemberArrin23-Jun-15 10:00 
SuggestionRe: SDI Project Question Pin
David Crow23-Jun-15 10:50
MemberDavid Crow23-Jun-15 10:50 
GeneralRe: SDI Project Question Pin
Arrin23-Jun-15 13:21
MemberArrin23-Jun-15 13:21 
QuestionUse #define or enum in switch() case(s) ? Pin
Vaclav_22-Jun-15 6:40
MemberVaclav_22-Jun-15 6:40 
AnswerRe: Use #define or enum in switch() case(s) ? Pin
PIEBALDconsult22-Jun-15 6:51
professionalPIEBALDconsult22-Jun-15 6:51 
AnswerRe: Use #define or enum in switch() case(s) ? Pin
Jochen Arndt22-Jun-15 7:51
professionalJochen Arndt22-Jun-15 7:51 
AnswerRe: Use #define or enum in switch() case(s) ? Pin
Albert Holguin22-Jun-15 10:49
professionalAlbert Holguin22-Jun-15 10:49 
AnswerRe: Use #define or enum in switch() case(s) ? Pin
Vaclav_22-Jun-15 16:42
MemberVaclav_22-Jun-15 16:42 
GeneralRe: Use #define or enum in switch() case(s) ? Pin
Frankie-C22-Jun-15 23:44
MemberFrankie-C22-Jun-15 23:44 
GeneralRe: Use #define or enum in switch() case(s) ? Pin
Vaclav_23-Jun-15 5:44
MemberVaclav_23-Jun-15 5:44 
AnswerRe: Use #define or enum in switch() case(s) ? Pin
Albert Holguin24-Jun-15 13:12
professionalAlbert Holguin24-Jun-15 13:12 
Somewhat unrelated to your original question but........

REMOVE ALL THOSE #defines!

That is some ugly code! If you need a #define on a print function, do it once with a macro and not every single place you want to use that function.

//pseudo-code
#ifdef DEBUG
  #define UTIL_PROC(X) Utility_LCD_Process((X));
#else
  #define UTIL_PROC(X)
#endif

//When using it, you just call the macro
 case LED_on:
            {
               UTIL_PROC("case LED_on")
               State_Array[iInputPin] = LED_off;
               break;
            }

GeneralRe: Use #define or enum in switch() case(s) ? Pin
Vaclav_26-Jun-15 6:25
MemberVaclav_26-Jun-15 6:25 
GeneralRe: Use #define or enum in switch() case(s) ? Pin
Albert Holguin26-Jun-15 11:16
professionalAlbert Holguin26-Jun-15 11:16 

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.