Thread
:
Function returning a struct
View Single Post
#
8
27-01-2010, 06:53
slavik262
We do what we must because we can.
AKA: Matt Kline
FRC #0537 (Charger Robotics)
Team Role: Alumni
Join Date: Jan 2007
Rookie Year: 2007
Location: Sussex, WI
Posts: 310
Re: Function returning a struct
Quote:
Originally Posted by
TomBot
Code:
struct my_struct fuctionname(struct my_struct argName)
Or you can typedef the struct.
But as gvarndell said, this isn't necessary in a C++ compiler. Something funny is going on here...
__________________
slavik262
View Public Profile
Visit slavik262's homepage!
Find all posts by slavik262
Find CD-Media Photos by slavik262
Find CD-Media Papers by slavik262