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,358 of 243,242   
   Lawrence =?iso-8859-13?q?D=FFOlivei to All   
   Re: signed vs unsigned and gcc -Wsign-co   
   20 Oct 25 23:38:08   
   
   From: ldo@nz.invalid   
      
   On Mon, 20 Oct 2025 23:35:35 -0000 (UTC), I wrote:   
      
   >     for (i = len(s);;)   
   >       {   
   >         ...   
   >       } /*for*/   
      
   Make that   
      
       for (i = len(s);;)   
         {   
           if (i == 0)   
             {   
               found = false;   
               break;   
             } /*if*/   
           --i;   
           if (matches(s[i]))   
             {   
               found = true;   
               break;   
             } /*if*/   
         } /*for*/   
      
   --- 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