From: "Jason Nehf" Newsgroups: comp.os.msdos.djgpp Subject: question on structures Date: Fri, 10 Jul 1998 17:11:08 -0500 Organization: EarthLink Network, Inc. Lines: 15 Message-ID: <6o63dl$ojc$1@ash.prod.itd.earthlink.net> NNTP-Posting-Host: 1cust80.tnt1.chi5.da.uu.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk How would I pass a structure in a function, then have the function change the values in the structure? I know with regular variables, you just pass them by putting a '&' in front of the variable, but is there an equivilant with structures? Specifically, I'm trying to pass a structure with all of a RPG character's attributes (hitpoints, strength, dexterity, etc), and have it accelerate the character to a specific level. I know i could, instead of passing a structure, pass each variable individually, but that is a LOT of work that could be saved by passing a structure. Any help would be greatly appreciated! regards, Jason Nehf