Click here to Skip to main content
13,731,136 members

C / C++ / MFC

 
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 
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 
Quote:
Unfortunately I have very little knowledge about compilers and I don't know what C89 and C99 are
It's time to learn, then.


Quote:
What I'm worried about is that my code won't compile in the future if we move to a different compiler
If you are really worried about then don't use the feature.
You might also check in advance if the compiler you are planning to use in future supports such a feature (or, generally C99 features).
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 
GeneralRe: MFC Activex Control Pin
Member 1278586416-Oct-17 4:36
memberMember 1278586416-Oct-17 4:36 
GeneralRe: MFC Activex Control Pin
Richard MacCutchan16-Oct-17 5:37
protectorRichard MacCutchan16-Oct-17 5:37 
GeneralRe: MFC Activex Control Pin
leon de boer16-Oct-17 20:34
memberleon de boer16-Oct-17 20:34 
GeneralRe: MFC Activex Control Pin
Member 1278586422-Oct-17 23:49
memberMember 1278586422-Oct-17 23:49 
GeneralRe: MFC Activex Control Pin
leon de boer25-Oct-17 9:18
memberleon de boer25-Oct-17 9:18 
QuestionTo arrange n numbers in descending order ? Pin
Tarun Jha13-Oct-17 9:02
memberTarun Jha13-Oct-17 9:02 
AnswerRe: To arrange n numbers in descending order ? Pin
jeron113-Oct-17 9:08
memberjeron113-Oct-17 9:08 

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