Click here to Skip to main content
15,896,453 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Extending the C using preprocessor and other goodies - how do they interact? Pin
Richard MacCutchan2-May-13 21:26
mveRichard MacCutchan2-May-13 21:26 
GeneralRe: Extending the C using preprocessor and other goodies - how do they interact? Pin
H.Brydon1-May-13 6:34
professionalH.Brydon1-May-13 6:34 
GeneralRe: Extending the C using preprocessor and other goodies - how do they interact? Pin
Vaclav_1-May-13 9:04
Vaclav_1-May-13 9:04 
GeneralRe: Extending the C using preprocessor and other goodies - how do they interact? Pin
jschell1-May-13 8:39
jschell1-May-13 8:39 
GeneralRe: Extending the C using preprocessor and other goodies - how do they interact? Pin
Vaclav_1-May-13 9:03
Vaclav_1-May-13 9:03 
GeneralRe: Extending the C using preprocessor and other goodies - how do they interact? Pin
jschell2-May-13 8:03
jschell2-May-13 8:03 
GeneralRe: Extending the C using preprocessor and other goodies - how do they interact? Pin
Stefan_Lang1-May-13 21:54
Stefan_Lang1-May-13 21:54 
GeneralRe: Extending the C using preprocessor and other goodies - how do they interact? Pin
Vaclav_4-May-13 5:34
Vaclav_4-May-13 5:34 
Stefan,
thanks for reply. I find your objection to using #define peculiar.
For example – the basic MFC wouldn’t fly without it. The first C program I wrote over 30 years ago I used #define MAX 256 to have a single place in the program where the value of MAX can be changed. And how about #define DEBUG?
I think stating that #include just adds the file text is rather simplistic. I was actually looking to discuss experiences / preferences in putting include in various places of application. In VC6.0 you can put “include “ in Project Settings, in Tools Option in an addition to files. I am sure newer IDE's have similar options.
I just went thru couple of sleepless nights trying to find linker error – cannot find file “g:.lib”.
Simple search just did not work this time.
Well I had a #pragma comment referring to a wrong directory. So my experience with VC6.0 #pragma - it works but is not that user friendly.
Cheers Vaclav
GeneralRe: Extending the C using preprocessor and other goodies - how do they interact? Pin
Stefan_Lang5-May-13 23:39
Stefan_Lang5-May-13 23:39 
QuestionOwner Draw MenuItem Displaying large in Size in Debug but in release it is Ok Pin
002comp30-Apr-13 21:14
002comp30-Apr-13 21:14 
AnswerRe: Owner Draw MenuItem Displaying large in Size in Debug but in release it is Ok Pin
Richard MacCutchan30-Apr-13 21:34
mveRichard MacCutchan30-Apr-13 21:34 
GeneralRe: Owner Draw MenuItem Displaying large in Size in Debug but in release it is Ok Pin
002comp1-May-13 0:25
002comp1-May-13 0:25 
SuggestionRe: Owner Draw MenuItem Displaying large in Size in Debug but in release it is Ok Pin
Richard MacCutchan1-May-13 1:49
mveRichard MacCutchan1-May-13 1:49 
QuestionDetect specific finger tip in convexhull Pin
Dilan Shaminda30-Apr-13 19:34
professionalDilan Shaminda30-Apr-13 19:34 
SuggestionRe: Detect specific finger tip in convexhull Pin
Vaclav_1-May-13 5:46
Vaclav_1-May-13 5:46 
GeneralRe: Detect specific finger tip in convexhull Pin
Dilan Shaminda1-May-13 20:16
professionalDilan Shaminda1-May-13 20:16 
GeneralRe: Detect specific finger tip in convexhull Pin
Dilan Shaminda1-May-13 20:16
professionalDilan Shaminda1-May-13 20:16 
QuestionThe "hide_gui" key in the regedit , i want to know how does it works? Pin
ITboy_Lemon30-Apr-13 16:42
professionalITboy_Lemon30-Apr-13 16:42 
AnswerRe: The "hide_gui" key in the regedit , i want to know how does it works? Pin
Richard MacCutchan30-Apr-13 21:31
mveRichard MacCutchan30-Apr-13 21:31 
QuestionAccess structure variable value using string representing variable's name in C++. Pin
shanmugarajaa30-Apr-13 1:43
shanmugarajaa30-Apr-13 1:43 
AnswerRe: Access structure variable value using string representing variable's name in C++. Pin
Sivaraman Dhamodharan30-Apr-13 2:10
Sivaraman Dhamodharan30-Apr-13 2:10 
AnswerRe: Access structure variable value using string representing variable's name in C++. Pin
Chris Losinger30-Apr-13 4:07
professionalChris Losinger30-Apr-13 4:07 
AnswerRe: Access structure variable value using string representing variable's name in C++. Pin
Newbie0030-Apr-13 7:43
Newbie0030-Apr-13 7:43 
AnswerRe: Access structure variable value using string representing variable's name in C++. Pin
jschell30-Apr-13 9:47
jschell30-Apr-13 9:47 
AnswerRe: Access structure variable value using string representing variable's name in C++. Pin
Stefan_Lang1-May-13 22:09
Stefan_Lang1-May-13 22:09 

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.