Category : Files from Magazines
Archive   : PJ92.ZIP
Filename : MSCTEST.C

 
Output of file : MSCTEST.C contained in archive : PJ92.ZIP
/* Microsoft C programs to test the ADA pragma interface */

#include

void cflttst(x,y)
double far *x, *y;
{
printf("> Beginning of cflttst.\n");
printf("> Values passed from msctest:\n");
printf("> x (1.23456) = %g\n", *x);
printf("> y (9.87654) = %g\n", *y);
*x = 8.76543;
*y = 2.34567;
printf("> End of cflttst.\n");
}

int cinttst1(x)
int x;
{
printf("> Beginning of cinttst1.\n");
printf("> Value passed from msctest:\n");
printf("> x (4) = %d\n", x);
printf("> End of cinttst1.\n");
return x * x;
}

void cinttst2(x, y, z)
int x, y, *z;
{
printf("> Beginning of cinttst2.\n");
printf("> Values passed from msctest:\n");
printf("> x ( 5) = %d\n", x);
printf("> y (11) = %d\n", y);
printf("> End of cinttst2.\n");
*z = x * y;
}



  3 Responses to “Category : Files from Magazines
Archive   : PJ92.ZIP
Filename : MSCTEST.C

  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/