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

 
Output of file : 1004092B contained in archive : CUJ9204.ZIP

main()
{
node n;

n.value.d = 9.87;
n.type = Double;
push(n);

n.value.s = "some text";
n.type = String;
push(n);

n.value.i = 123;
n.type = Int;
push(n);

n.value.c = 'A';
n.type = Char;
push(n);

while (n = pop(), n.type != Error) {

switch (n.type) {

case Char:
printf("Char = %c\n", n.value.c);
break;

case Int:
printf("Int = %d\n", n.value.i);
break;

case Double:
printf("Double = %f\n", n.value.d);
break;

case String:
printf("String = %s\n", n.value.s);
break;
}
}

return 0;
}



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

  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/