Category : Files from Magazines
Archive   : CUJ9204.ZIP
Filename : 1004010B

 
Output of file : 1004010B contained in archive : CUJ9204.ZIP
/* div function */
#include

div_t (div)(int numer, int denom)
{ /* compute int quotient and remainder */
div_t val;

val.quot = numer / denom;
val.rem = numer - denom * val.quot;
if (val.quot < 0 && 0 < val.rem)
{ /* fix remainder with wrong sign */
val.quot += 1;
val.rem -= denom;
}
return (val);
}




  3 Responses to “Category : Files from Magazines
Archive   : CUJ9204.ZIP
Filename : 1004010B

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/