Online HelpPC 2.10      Quick Reference Utility     Copyright 1991 David Jurgens
 
            MSC: struct _div_t div( int numer, int denom )                      
            MSC: struct _ldiv_t ldiv( long int numer, long int denom )          
                                                                                                                                                                          - prototype in stdlib.h                                                                                                                                           - divides numerator by denominator giving quotient and remainder                 - returns div_t or ldiv_t structure of the form:                                                                                                                  struct _div_t           struct _ldiv_t                                               {                       {                                                        int quot;               long quot;                                               int rem;                long rem;                                                };                      };                                                                                                                                                                                                                                                                                               
[helppc.bosbyte.nl]                 div (c)                   Home  Back  Topics