Click here to Skip to main content
15,792,999 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Passing an "array" in C Pin
PIEBALDconsult1-Aug-15 22:18
professionalPIEBALDconsult1-Aug-15 22:18 
GeneralRe: Passing an "array" in C Pin
Chris Losinger2-Aug-15 4:52
professionalChris Losinger2-Aug-15 4:52 
GeneralRe: Passing an "array" in C Pin
PIEBALDconsult2-Aug-15 7:36
professionalPIEBALDconsult2-Aug-15 7:36 
GeneralRe: Passing an "array" in C Pin
Chris Losinger2-Aug-15 8:06
professionalChris Losinger2-Aug-15 8:06 
GeneralRe: Passing an "array" in C Pin
PIEBALDconsult2-Aug-15 8:17
professionalPIEBALDconsult2-Aug-15 8:17 
GeneralRe: Passing an "array" in C Pin
PIEBALDconsult4-Aug-15 16:06
professionalPIEBALDconsult4-Aug-15 16:06 
GeneralRe: Passing an "array" in C Pin
Chris Losinger5-Aug-15 2:20
professionalChris Losinger5-Aug-15 2:20 
GeneralRe: Passing an "array" in C Pin
k50545-Aug-15 5:22
mvek50545-Aug-15 5:22 
I believe that's implementation defined. With my linux box I can use ulimit to set the size of the stack. By default it seems to be 8MB, but I can modify that upwards more or less as needed (obviously within memory limits of the system).

I seem to recall that early C implementations were limited to returning basic types (e.g. int, double, char *, etc). gcc-5.2 still has a warning flag for aggregate returns - which suggests that other C compilers might still adhere to that.
GeneralRe: Passing an "array" in C Pin
CPallini31-Jul-15 22:32
mveCPallini31-Jul-15 22:32 
GeneralRe: Passing an "array" in C Pin
PIEBALDconsult1-Aug-15 6:00
professionalPIEBALDconsult1-Aug-15 6:00 
GeneralRe: Passing an "array" in C Pin
CPallini1-Aug-15 6:13
mveCPallini1-Aug-15 6:13 
GeneralRe: Passing an "array" in C Pin
PIEBALDconsult1-Aug-15 6:40
professionalPIEBALDconsult1-Aug-15 6:40 
GeneralRe: Passing an "array" in C Pin
CPallini1-Aug-15 6:55
mveCPallini1-Aug-15 6:55 
QuestionC++ Service Crash in Windows Server 2008 R2 Machine Pin
janaswamy uday29-Jul-15 8:26
janaswamy uday29-Jul-15 8:26 
QuestionRe: C++ Service Crash in Windows Server 2008 R2 Machine Pin
Richard MacCutchan29-Jul-15 22:10
mveRichard MacCutchan29-Jul-15 22:10 
GeneralWho has the type of remote control code, can you give me a copy? Pin
HackLee27-Jul-15 17:20
HackLee27-Jul-15 17:20 
GeneralRe: Who has the type of remote control code, can you give me a copy? Pin
enhzflep27-Jul-15 19:19
enhzflep27-Jul-15 19:19 
GeneralRe: Who has the type of remote control code, can you give me a copy? Pin
HackLee27-Jul-15 20:42
HackLee27-Jul-15 20:42 
GeneralRe: Who has the type of remote control code, can you give me a copy? Pin
HackLee27-Jul-15 20:41
HackLee27-Jul-15 20:41 
QuestionError reading characters of string Pin
Django_Untaken27-Jul-15 10:19
Django_Untaken27-Jul-15 10:19 
AnswerRe: Error reading characters of string Pin
Richard Andrew x6427-Jul-15 10:54
professionalRichard Andrew x6427-Jul-15 10:54 
GeneralRe: Error reading characters of string Pin
Django_Untaken27-Jul-15 19:06
Django_Untaken27-Jul-15 19:06 
AnswerRe: Error reading characters of string Pin
Richard Andrew x6427-Jul-15 19:21
professionalRichard Andrew x6427-Jul-15 19:21 
GeneralRe: Error reading characters of string Pin
Django_Untaken27-Jul-15 19:32
Django_Untaken27-Jul-15 19:32 
AnswerRe: Error reading characters of string Pin
Richard Andrew x6427-Jul-15 19:58
professionalRichard Andrew x6427-Jul-15 19:58 

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.