This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: return several types in a function
- To: gnu-win32 at cygnus dot com
- Subject: Re: return several types in a function
- From: "Bartlee A. Anderson" <banders at ECD dot Rockwell dot COM>
- Date: Mon, 26 Jan 1998 09:48:06 -0600
- References: <199801260640.AAA11700@yooper.switch.rockwell.com>
Mail Delivery Subsystem wrote:
>
> The original message was received at Mon, 26 Jan 1998 00:40:27 -0600 (CST)
> from mp-port07.switch.rockwell.com [131.198.124.7]
>
> ----- The following addresses had permanent fatal errors -----
> <gnu-win32@cygnow.com>
>
> ----- Transcript of session follows -----
> 550 <gnu-win32@cygnow.com>... Host unknown (Name server: cygnow.com: host not found)
>
> ---------------------------------------------------------------
> Reporting-MTA: dns; yooper.switch.rockwell.com
> Received-From-MTA: DNS; mp-port07.switch.rockwell.com
> Arrival-Date: Mon, 26 Jan 1998 00:40:27 -0600 (CST)
>
Dear Anonymous,
I have seen things like creating a structure, passing the
reference to the structure and letting the function fill in
the the values. Is that any help?
Bart
Anonymous wrote:
>
> Hello!
>
> I know this is a bit off-topic, but I don't know
> where to look for help.
>
> What do I write to get a function to return more
> than one thing and type, lets say in a DLL?
>
> eg foo() should return an int and a char[10].
>
> -- Martin
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".