From: "Siddiqui" Newsgroups: comp.os.msdos.djgpp Subject: GCC : Not passing values correctly in functon Date: Fri, 4 Sep 1998 18:52:46 +0100 Lines: 14 Organization: family NNTP-Posting-Host: 194.112.60.229 Message-ID: <35f024a8.0@newsread1.dircon.co.uk> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I wrote a function that when called requests a few input variables like "void render(float xpos, float ypos)", but when I call it and give it some parameters it doesn't regster the correct value I gave it. I found this out using some debug code I wrote around it. Some of the passed parameters are actually global variables and some are not, but then I can't see how this can make any difference. Any advice/omments would be very appreciated, Thanks, Ali Siddiqui