View Single Post
  #8   Spotlight this post!  
Unread 27-01-2010, 06:53
slavik262's Avatar
slavik262 slavik262 is offline
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
slavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to behold
Send a message via AIM to slavik262
Re: Function returning a struct

Quote:
Originally Posted by TomBot View Post
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...
__________________
Reply With Quote