C/C++: Effectuer une divison avec ‘div_t’ et ldiv pour le valeurs de type ‘long’

Author:


{filelink=13997}


#include 
#include 

int main ()
{

  ldiv_t resultat = ldiv (685241211,9263);

  printf ("685241211 / 9263 = %d ( %d", resultat.quot, resultat.rem);

  return 0;
}

Leave a Reply

Your email address will not be published. Required fields are marked *