Click here to Skip to main content
13,740,333 members

C / C++ / MFC

 
AnswerRe: C++ Queue and Stacks Pin
jschell23-Oct-17 7:30
memberjschell23-Oct-17 7:30 
QuestionFind out optimum volume for packing different boxes Pin
21-Oct-17 18:25
member21-Oct-17 18:25 
AnswerRe: Find out optimum volume for packing different boxes Pin
Richard MacCutchan21-Oct-17 20:48
protectorRichard MacCutchan21-Oct-17 20:48 
GeneralRe: Find out optimum volume for packing different boxes Pin
Sascha Lefèvre21-Oct-17 21:01
mvpSascha Lefèvre21-Oct-17 21:01 
AnswerRe: Find out optimum volume for packing different boxes Pin
CPallini22-Oct-17 5:07
mvpCPallini22-Oct-17 5:07 
GeneralRe: Find out optimum volume for packing different boxes Pin
David Crow22-Oct-17 17:03
memberDavid Crow22-Oct-17 17:03 
QuestionCan I put a variable length array inside a struct somehow? Pin
arnold_w17-Oct-17 0:38
memberarnold_w17-Oct-17 0:38 
AnswerRe: Can I put a variable length array inside a struct somehow? Pin
Peter_in_278017-Oct-17 0:57
professionalPeter_in_278017-Oct-17 0: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 1:08
memberarnold_w17-Oct-17 1:08 
GeneralRe: Can I put a variable length array inside a struct somehow? Pin
Peter_in_278017-Oct-17 1:43
professionalPeter_in_278017-Oct-17 1:43 
AnswerRe: Can I put a variable length array inside a struct somehow? Pin
CPallini17-Oct-17 1:54
mvpCPallini17-Oct-17 1:54 
GeneralRe: Can I put a variable length array inside a struct somehow? Pin
arnold_w17-Oct-17 2:02
memberarnold_w17-Oct-17 2:02 
GeneralRe: Can I put a variable length array inside a struct somehow? Pin
CPallini17-Oct-17 2:24
mvpCPallini17-Oct-17 2:24 
GeneralRe: Can I put a variable length array inside a struct somehow? Pin
arnold_w17-Oct-17 2:46
memberarnold_w17-Oct-17 2:46 
GeneralRe: Can I put a variable length array inside a struct somehow? Pin
CPallini17-Oct-17 2:58
mvpCPallini17-Oct-17 2:58 
GeneralRe: Can I put a variable length array inside a struct somehow? Pin
jschell17-Oct-17 7:06
memberjschell17-Oct-17 7:06 
GeneralRe: Can I put a variable length array inside a struct somehow? Pin
Richard MacCutchan17-Oct-17 4:50
protectorRichard MacCutchan17-Oct-17 4:50 
GeneralRe: Can I put a variable length array inside a struct somehow? Pin
arnold_w17-Oct-17 8:26
memberarnold_w17-Oct-17 8:26 
GeneralRe: Can I put a variable length array inside a struct somehow? Pin
leon de boer17-Oct-17 16:30
memberleon de boer17-Oct-17 16:30 
AnswerRe: Can I put a variable length array inside a struct somehow? Pin
jschell17-Oct-17 7:20
memberjschell17-Oct-17 7:20 
GeneralRe: Can I put a variable length array inside a struct somehow? Pin
arnold_w17-Oct-17 8:33
memberarnold_w17-Oct-17 8:33 
Questioninet error Pin
16-Oct-17 5:22
member16-Oct-17 5:22 
GeneralRe: inet error Pin
Richard MacCutchan16-Oct-17 5:35
protectorRichard MacCutchan16-Oct-17 5:35 
QuestionMFC Activex Control Pin
Member 1278586415-Oct-17 20:53
memberMember 1278586415-Oct-17 20:53 
GeneralRe: MFC Activex Control Pin
Richard MacCutchan16-Oct-17 3:55
protectorRichard MacCutchan16-Oct-17 3:55 

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-2016 | 2.8.180920.1 | Last Updated 23 Oct 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid