www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/04/14:00:35

From: "Siddiqui" <siddiqui AT dircon DOT co DOT uk>
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

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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019