Click here to Skip to main content
13,259,771 members (47,372 online)

C / C++ / MFC

 
AnswerRe: CMonthCalCtrlDlg and the 2038 problem Pin
Jochen Arndt22-Oct-17 23:45
mvpJochen Arndt22-Oct-17 23:45 
GeneralRe: CMonthCalCtrlDlg and the 2038 problem Pin
Member 1345973323-Oct-17 3:52
memberMember 1345973323-Oct-17 3:52 
QuestionC++ Queue and Stacks Pin
Member 1347847922-Oct-17 2:47
memberMember 1347847922-Oct-17 2:47 
AnswerRe: C++ Queue and Stacks Pin
CPallini22-Oct-17 6:02
mvpCPallini22-Oct-17 6:02 
AnswerRe: C++ Queue and Stacks Pin
Richard MacCutchan22-Oct-17 12:15
protectorRichard MacCutchan22-Oct-17 12:15 
AnswerRe: C++ Queue and Stacks Pin
David Crow22-Oct-17 18:02
memberDavid Crow22-Oct-17 18:02 
AnswerRe: C++ Queue and Stacks Pin
jschell23-Oct-17 8:30
memberjschell23-Oct-17 8:30 
QuestionFind out optimum volume for packing different boxes Pin
Member 1347639321-Oct-17 19:25
memberMember 1347639321-Oct-17 19:25 
AnswerRe: Find out optimum volume for packing different boxes Pin
Richard MacCutchan21-Oct-17 21:48
protectorRichard MacCutchan21-Oct-17 21:48 
GeneralRe: Find out optimum volume for packing different boxes Pin
Sascha Lefèvre21-Oct-17 22:01
mvpSascha Lefèvre21-Oct-17 22:01 
AnswerRe: Find out optimum volume for packing different boxes Pin
CPallini22-Oct-17 6:07
mvpCPallini22-Oct-17 6:07 
GeneralRe: Find out optimum volume for packing different boxes Pin
David Crow22-Oct-17 18:03
memberDavid Crow22-Oct-17 18:03 
QuestionCan I put a variable length array inside a struct somehow? Pin
arnold_w17-Oct-17 1:38
memberarnold_w17-Oct-17 1:38 
AnswerRe: Can I put a variable length array inside a struct somehow? Pin
Peter_in_278017-Oct-17 1:57
professionalPeter_in_278017-Oct-17 1:57 
In your first example, the struct member is a char *, that is, a pointer. Its size is fixed, although the string it points to (which is stored elsewhere) may be of variable size.
A debugger will show you what lives where at run time.
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012

GeneralRe: Can I put a variable length array inside a struct somehow? Pin
arnold_w17-Oct-17 2:08
memberarnold_w17-Oct-17 2:08 
GeneralRe: Can I put a variable length array inside a struct somehow? Pin
Peter_in_278017-Oct-17 2:43
professionalPeter_in_278017-Oct-17 2:43 
AnswerRe: Can I put a variable length array inside a struct somehow? Pin
CPallini17-Oct-17 2:54
mvpCPallini17-Oct-17 2:54 
GeneralRe: Can I put a variable length array inside a struct somehow? Pin
arnold_w17-Oct-17 3:02
memberarnold_w17-Oct-17 3:02 
GeneralRe: Can I put a variable length array inside a struct somehow? Pin
CPallini17-Oct-17 3:24
mvpCPallini17-Oct-17 3:24 
GeneralRe: Can I put a variable length array inside a struct somehow? Pin
arnold_w17-Oct-17 3:46
memberarnold_w17-Oct-17 3:46 
GeneralRe: Can I put a variable length array inside a struct somehow? Pin
CPallini17-Oct-17 3:58
mvpCPallini17-Oct-17 3:58 
GeneralRe: Can I put a variable length array inside a struct somehow? Pin
jschell17-Oct-17 8:06
memberjschell17-Oct-17 8:06 
GeneralRe: Can I put a variable length array inside a struct somehow? Pin
Richard MacCutchan17-Oct-17 5:50
protectorRichard MacCutchan17-Oct-17 5:50 
GeneralRe: Can I put a variable length array inside a struct somehow? Pin
arnold_w17-Oct-17 9:26
memberarnold_w17-Oct-17 9:26 
GeneralRe: Can I put a variable length array inside a struct somehow? Pin
leon de boer17-Oct-17 17:30
memberleon de boer17-Oct-17 17:30 
AnswerRe: Can I put a variable length array inside a struct somehow? Pin
jschell17-Oct-17 8:20
memberjschell17-Oct-17 8:20 
GeneralRe: Can I put a variable length array inside a struct somehow? Pin
arnold_w17-Oct-17 9:33
memberarnold_w17-Oct-17 9:33 
Questioninet error Pin
Member 1346819116-Oct-17 6:22
memberMember 1346819116-Oct-17 6:22 
GeneralRe: inet error Pin
Richard MacCutchan16-Oct-17 6:35
protectorRichard MacCutchan16-Oct-17 6:35 
QuestionMFC Activex Control Pin
Member 1278586415-Oct-17 21:53
memberMember 1278586415-Oct-17 21:53 
GeneralRe: MFC Activex Control Pin
Richard MacCutchan16-Oct-17 4:55
protectorRichard MacCutchan16-Oct-17 4:55 
GeneralRe: MFC Activex Control Pin
Member 1278586416-Oct-17 5:36
memberMember 1278586416-Oct-17 5:36 
GeneralRe: MFC Activex Control Pin
Richard MacCutchan16-Oct-17 6:37
protectorRichard MacCutchan16-Oct-17 6:37 
GeneralRe: MFC Activex Control Pin
leon de boer16-Oct-17 21:34
memberleon de boer16-Oct-17 21:34 
GeneralRe: MFC Activex Control Pin
Member 1278586423-Oct-17 0:49
memberMember 1278586423-Oct-17 0:49 
GeneralRe: MFC Activex Control Pin
leon de boer25-Oct-17 10:18
memberleon de boer25-Oct-17 10:18 
QuestionTo arrange n numbers in descending order ? Pin
Tarun Jha13-Oct-17 10:02
memberTarun Jha13-Oct-17 10:02 
AnswerRe: To arrange n numbers in descending order ? Pin
jeron113-Oct-17 10:08
memberjeron113-Oct-17 10:08 
QuestionRe: To arrange n numbers in descending order ? Pin
David Crow13-Oct-17 17:06
memberDavid Crow13-Oct-17 17:06 
AnswerRe: To arrange n numbers in descending order ? Pin
Richard MacCutchan13-Oct-17 23:44
protectorRichard MacCutchan13-Oct-17 23:44 
AnswerRe: To arrange n numbers in descending order ? Pin
«_Superman_»15-Oct-17 19:02
professional«_Superman_»15-Oct-17 19:02 
AnswerRe: To arrange n numbers in descending order ? Pin
CPallini16-Oct-17 4:21
mvpCPallini16-Oct-17 4:21 
QuestionTo find biggest of n numbers ? Pin
Tarun Jha13-Oct-17 6:44
memberTarun Jha13-Oct-17 6:44 
AnswerRe: To find biggest of n numbers ? Pin
jschell13-Oct-17 6:56
memberjschell13-Oct-17 6:56 
GeneralRe: To find biggest of n numbers ? Pin
Tarun Jha13-Oct-17 7:02
memberTarun Jha13-Oct-17 7:02 
GeneralRe: To find biggest of n numbers ? Pin
jschell15-Oct-17 8:11
memberjschell15-Oct-17 8:11 
AnswerRe: To find biggest of n numbers ? Pin
Richard MacCutchan13-Oct-17 7:16
protectorRichard MacCutchan13-Oct-17 7:16 
GeneralRe: To find biggest of n numbers ? Pin
Tarun Jha13-Oct-17 7:22
memberTarun Jha13-Oct-17 7:22 
GeneralRe: To find biggest of n numbers ? Pin
jeron113-Oct-17 7:34
memberjeron113-Oct-17 7:34 
GeneralRe: To find biggest of n numbers ? Pin
Richard MacCutchan13-Oct-17 7:51
protectorRichard MacCutchan13-Oct-17 7:51 

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 |
Web03 | 2.8.171114.1 | Last Updated 24 Nov 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid