Click here to Skip to main content
15,888,351 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to instantiate class with parameters - syntax please ? Pin
Vaclav_3-Oct-16 5:34
Vaclav_3-Oct-16 5:34 
GeneralRe: How to instantiate class with parameters - syntax please ? Pin
leon de boer3-Oct-16 16:25
leon de boer3-Oct-16 16:25 
GeneralRe: How to instantiate class with parameters - syntax please ? Pin
Krishnakumartg3-Oct-16 18:12
Krishnakumartg3-Oct-16 18:12 
GeneralRe: How to instantiate class with parameters - syntax please ? Pin
leon de boer3-Oct-16 22:49
leon de boer3-Oct-16 22:49 
AnswerRe: How to instantiate class with parameters - syntax please ? Pin
Vaclav_4-Oct-16 2:25
Vaclav_4-Oct-16 2:25 
GeneralRe: How to instantiate class with parameters - syntax please ? Pin
Richard MacCutchan4-Oct-16 3:46
mveRichard MacCutchan4-Oct-16 3:46 
GeneralRe: How to instantiate class with parameters - syntax please ? Pin
leon de boer4-Oct-16 7:16
leon de boer4-Oct-16 7:16 
GeneralRe: How to instantiate class with parameters - syntax please ? Pin
Vaclav_6-Oct-16 10:34
Vaclav_6-Oct-16 10:34 
Yes, this time using correct terminology was the ticket. I am not sure why the OP was judged as too complex to ask here about. I am still puzzled why I did not get a clear example of syntax passing list of parameters to class directly, not via constructor. The link posted was not that clear how to name / use the list.
It really does matter to me how I get the parameters to correct class in the hierarchy.
The example of composite class suggest I have to follow the hierarchy and pass the parameters thru each constructor to the next one.
I suppose when I get the code to play I could post it here for everybody can see it is really not that complex.
Cheers
GeneralRe: How to instantiate class with parameters - syntax please ? Pin
leon de boer6-Oct-16 19:04
leon de boer6-Oct-16 19:04 
QuestionWhy can't I assign a variable's address to an enum? Pin
arnold_w30-Sep-16 0:18
arnold_w30-Sep-16 0:18 
AnswerRe: Why can't I assign a variable's address to an enum? Pin
Richard MacCutchan30-Sep-16 0:52
mveRichard MacCutchan30-Sep-16 0:52 
AnswerRe: Why can't I assign a variable's address to an enum? Pin
leon de boer30-Sep-16 3:22
leon de boer30-Sep-16 3:22 
QuestionWaitForSingleObject best practices Pin
ForNow27-Sep-16 14:26
ForNow27-Sep-16 14:26 
AnswerRe: WaitForSingleObject best practices Pin
leon de boer27-Sep-16 18:18
leon de boer27-Sep-16 18:18 
GeneralRe: WaitForSingleObject best practices Pin
ForNow28-Sep-16 2:18
ForNow28-Sep-16 2:18 
GeneralRe: WaitForSingleObject best practices Pin
leon de boer28-Sep-16 8:16
leon de boer28-Sep-16 8:16 
GeneralRe: WaitForSingleObject best practices Pin
ForNow28-Sep-16 11:41
ForNow28-Sep-16 11:41 
GeneralRe: WaitForSingleObject best practices Pin
ForNow28-Sep-16 15:57
ForNow28-Sep-16 15:57 
GeneralRe: WaitForSingleObject best practices Pin
leon de boer28-Sep-16 19:20
leon de boer28-Sep-16 19:20 
GeneralRe: WaitForSingleObject best practices Pin
leon de boer30-Sep-16 9:42
leon de boer30-Sep-16 9:42 
GeneralRe: WaitForSingleObject best practices Pin
ForNow30-Sep-16 9:52
ForNow30-Sep-16 9:52 
GeneralRe: WaitForSingleObject best practices Pin
Joe Woodbury24-Oct-16 14:31
professionalJoe Woodbury24-Oct-16 14:31 
GeneralRe: WaitForSingleObject best practices Pin
Joe Woodbury24-Oct-16 14:29
professionalJoe Woodbury24-Oct-16 14:29 
QuestionDevice on RS232 only responds to first send request (Visual C++) Pin
David MacKinnon27-Sep-16 8:18
David MacKinnon27-Sep-16 8:18 
AnswerRe: Device on RS232 only responds to first send request (Visual C++) Pin
jeron127-Sep-16 10:41
jeron127-Sep-16 10:41 

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.