Re: can we return pointer or struct?
- From: "boki" <bokiteam@xxxxxxxxxxxxxx>
- Date: Mon, 16 May 2005 20:13:03 +0800
That's it. Thanks a lot!
Best regards,
Boki.
"ben" <benhongh@xxxxxxxxxxx> ¼¶¼g©ó¶l¥ó·s»D:42887b01$0$8120$afc38c87@xxxxxxxxxxxxxxxxxxxxxxx
> struct contact
> {
> string name;
> int telephone_number;
> string email_address;
> //...
> };
>
> // to return a pointer
> contact* get_my_contact(void);
>
> // to return a struct
> contact get_a_copy_of_someones_contact(const string& who);
>
> ben
>
> "boki" <bokiteam@xxxxxxxxxxxxxx> wrote in message
> news:OATF0JgWFHA.3220@xxxxxxxxxxxxxxxxxxxxxxx
>> Hi All,
>> Can we return pointer or struct? I don't know how to do...
>>
>> Thank you very much!
>>
>> Best regards,
>> Boki.
>>
>>
>
>
.
- References:
- can we return pointer or struct?
- From: boki
- Re: can we return pointer or struct?
- From: ben
- can we return pointer or struct?
- Prev by Date: Re: WM_GETMINMAXINFO + SetWindowsHookEx
- Next by Date: Re: can we return pointer or struct?
- Previous by thread: Re: can we return pointer or struct?
- Next by thread: Re: can we return pointer or struct?
- Index(es):
Relevant Pages
|