Category : Files from Magazines
Archive   : CUJ9204.ZIP
Filename : 1004090D

 
Output of file : 1004090D contained in archive : CUJ9204.ZIP
main()
{
int size = 50;
int vali = 10;
long vall = 456789;
double vald = 123.456;

stack3.pstack = malloc(size * sizeof(double));
if (stack3.pstack == NULL) {
printf("Can't allocate space for stack3\n");
exit(1);
}

stack3.max_stack = size;

push(&stack1, &vali);
push(&stack2, &vall);
push(&stack3, &vald);
printf("stk1: %d\n", *((int *)pop(&stack1)));
printf("stk2: %ld\n", *((long *)pop(&stack2)));
printf("stk3: %f\n", *((double *)pop(&stack3)));

return 0;
}



  3 Responses to “Category : Files from Magazines
Archive   : CUJ9204.ZIP
Filename : 1004090D

  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/