From: Endlisnis Newsgroups: comp.os.msdos.djgpp Subject: Re: passing a structure?? Date: Thu, 13 Aug 1998 00:31:08 -0300 Organization: NBTel Internet Lines: 20 Message-ID: <35D25DFC.F62206FE@unb.ca> References: <35D21F2A DOT FA2A98F2 AT xyz DOT net> NNTP-Posting-Host: fctnts10c24.nbnet.nb.ca Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Bjorn Hansen wrote: > Is it possible to pass a structure to a function ? If so how would I > protorype it? struct mystruct { int a,b; }; void MyFunc(mystruct a) {} -- (\/) Endlisnis (\/) s257m AT unb DOT ca Endlisnis AT GeoCities DOT com Endlis AT nbnet DOT nb DOT ca