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 241,392 of 243,242   
   Lawrence =?iso-8859-13?q?D=FFOlivei to Bonita Montero   
   Re: signed vs unsigned and gcc -Wsign-co   
   21 Oct 25 19:45:22   
   
   From: ldo@nz.invalid   
      
   On Tue, 21 Oct 2025 09:57:45 +0200, Bonita Montero wrote:   
      
   > Am 21.10.2025 um 01:38 schrieb Lawrence D’Oliveiro:   
   >   
   >>      for (i = len(s);;)   
   >>        {   
   >>          if (i == 0)   
   >>            {   
   >>              found = false;   
   >>              break;   
   >>            } /*if*/   
   >>          --i;   
   >>          if (matches(s[i]))   
   >>            {   
   >>              found = true;   
   >>              break;   
   >>            } /*if*/   
   >>        } /*for*/   
   >   
   > Your coding style doesn't match any common style ...   
      
   You might want to write   
      
       for (i = len(s) - 1; i >= 0; --i)   
      
   wouldn’t you?   
      
   It’s all about the correctness of the code.   
      
   --- 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