home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.c      Meh, in C you gotta define EVERYTHING      243,242 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 242,836 of 243,242   
   Michael Sanders to David Brown   
   Re: function pointer question   
   06 Jan 26 16:44:13   
   
   From: porkchop@invalid.foo   
      
   On Tue, 6 Jan 2026 15:55:37 +0100, David Brown wrote:   
      
   > But sometimes you know you don't need the variables or parameters, but   
   > you might still want to have the declarations there.  Maybe they are   
   > used with some builds with different conditional compilation, or you   
   > know you might need them later.  Maybe you have extra parameters because   
   > the function has to fit a particular set of parameter types, even though   
   > in some cases you don't need them all.  (In C23, you can leave a   
   > parameter unnamed in the definition - but not prior to C23.)   
      
   Hmm. Yes this makes sense too. Thanks David I'm soaking up the knowledge   
   as quickly as I can =)   
      
   --   
   :wq   
   Mike Sanders   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca