Archived

This topic is now archived and is closed to further replies.

Returning a pointer to a structure

This topic is 5012 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Sorry for the stupid question but what''s the difference, if any, between:
myStructure* myFunction( type argument )
{
    [...]
}
[/CODE]
and
[CODE]
myStructure *myFunction( type argument )
{
    [...]
}
[/CODE]

I am trying to return a pointer to a structure
   
[URL=http://www.mtc-clan.it/pag/lunanera.htm][img]http://bak.spc.org/luna-nera/luna/banner2.gif[/img][/URL]

Share this post


Link to post
Share on other sites