Category : Files from Magazines
Archive   : CUJ9204.ZIP
Filename : 1004107A

 
Output of file : 1004107A contained in archive : CUJ9204.ZIP

Listing 3
**********
void myfunction1_a(char *format, va_list arg_ptr)
{
vfprintf(stdout,format,arg_ptr);
}

void myfunction2_a(char *format, va_list arg_ptr)
{
FILE *fp;

fp = fopen("TEST.DAT","a+");
vfprintf(fp,format,arg_ptr);
fclose(fp);
}

void myfunction3(char *format, ...)
{
va_list arg_ptr1;
va_list arg_ptr2;

va_start(arg_ptr1,format);
myfunction1_a(format,arg_ptr1);
myfunction2_a(format,arg_ptr1);
va_end(arg_ptr1);
}

***************



  3 Responses to “Category : Files from Magazines
Archive   : CUJ9204.ZIP
Filename : 1004107A

  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/