Click here to Skip to main content
13,771,666 members

C / C++ / MFC

 
SuggestionRe: Detect specific finger tip in convexhull Pin
Vaclav_1-May-13 6:46
memberVaclav_1-May-13 6:46 
GeneralRe: Detect specific finger tip in convexhull Pin
Dilan Shaminda1-May-13 21:16
professionalDilan Shaminda1-May-13 21:16 
GeneralRe: Detect specific finger tip in convexhull Pin
Dilan Shaminda1-May-13 21:16
professionalDilan Shaminda1-May-13 21:16 
QuestionThe "hide_gui" key in the regedit , i want to know how does it works? Pin
ITboy_Lemon30-Apr-13 17:42
professionalITboy_Lemon30-Apr-13 17:42 
AnswerRe: The "hide_gui" key in the regedit , i want to know how does it works? Pin
Richard MacCutchan30-Apr-13 22:31
protectorRichard MacCutchan30-Apr-13 22:31 
QuestionAccess structure variable value using string representing variable's name in C++. Pin
shanmugarajaa30-Apr-13 2:43
membershanmugarajaa30-Apr-13 2:43 
AnswerRe: Access structure variable value using string representing variable's name in C++. Pin
Sivaraman Dhamodharan30-Apr-13 3:10
memberSivaraman Dhamodharan30-Apr-13 3:10 
AnswerRe: Access structure variable value using string representing variable's name in C++. Pin
Chris Losinger30-Apr-13 5:07
professionalChris Losinger30-Apr-13 5:07 
C/C++ has no built-in mechanism to do that.

you will have to come up with some kind of data structure which maps a string to a variable. maybe put the variable name in the structure itself, then search your collection of structs to find the one you want. or, create a std::map which uses a string (var name) as the key and a struct as the value. or... there are lots of options - none of them are great.

AnswerRe: Access structure variable value using string representing variable's name in C++. Pin
Newbie0030-Apr-13 8:43
memberNewbie0030-Apr-13 8:43 
AnswerRe: Access structure variable value using string representing variable's name in C++. Pin
jschell30-Apr-13 10:47
memberjschell30-Apr-13 10:47 
AnswerRe: Access structure variable value using string representing variable's name in C++. Pin
Stefan_Lang1-May-13 23:09
memberStefan_Lang1-May-13 23:09 
QuestionCatch OnKeyDown in CDialog Pin
_Flaviu30-Apr-13 0:52
member_Flaviu30-Apr-13 0:52 
AnswerRe: Catch OnKeyDown in CDialog Pin
Chris Losinger30-Apr-13 2:52
professionalChris Losinger30-Apr-13 2:52 
GeneralRe: Catch OnKeyDown in CDialog Pin
_Flaviu30-Apr-13 3:11
member_Flaviu30-Apr-13 3:11 
QuestionReadfile to read parent process console buffer Pin
ForNow29-Apr-13 16:51
memberForNow29-Apr-13 16:51 
AnswerRe: Readfile to read parent process console buffer Pin
«_Superman_»2-May-13 20:11
professional«_Superman_»2-May-13 20:11 
GeneralRe: Readfile to read parent process console buffer Pin
ForNow3-May-13 5:11
memberForNow3-May-13 5:11 
QuestionNo more DSP but DSW and SLN in VC6.0 Pin
Vaclav_29-Apr-13 10:36
memberVaclav_29-Apr-13 10:36 
QuestionRe: No more DSP but DSW and SLN in VC6.0 Pin
David Crow29-Apr-13 10:40
memberDavid Crow29-Apr-13 10:40 
AnswerRe: No more DSP but DSW and SLN in VC6.0 Pin
Vaclav_29-Apr-13 15:11
memberVaclav_29-Apr-13 15:11 
GeneralRe: No more DSP but DSW and SLN in VC6.0 Pin
Richard MacCutchan30-Apr-13 0:11
protectorRichard MacCutchan30-Apr-13 0:11 
GeneralRe: No more DSP but DSW and SLN in VC6.0 Pin
Vaclav_30-Apr-13 4:39
memberVaclav_30-Apr-13 4:39 
GeneralRe: No more DSP but DSW and SLN in VC6.0 Pin
Richard MacCutchan30-Apr-13 7:09
protectorRichard MacCutchan30-Apr-13 7:09 
GeneralRe: No more DSP but DSW and SLN in VC6.0 Pin
Freak3030-Apr-13 1:37
memberFreak3030-Apr-13 1:37 
GeneralRe: No more DSP but DSW and SLN in VC6.0 Pin
Vaclav_30-Apr-13 4:31
memberVaclav_30-Apr-13 4:31 

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 | Cookies | Terms of Service
Web06 | 2.8.181119.1 | Last Updated 21 Nov 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid