Wow that is impressive. I discovered the first example also compiles as C++ and the second example also does if I change void to int.
I guess that would make it tri-lingual?
Would love to see an 8 language code though.
BTW I actually created these without seeing the other C/Perl codes. I didn't even know about them.
Also in http://www.perlmonks.org/?node_id=133308. I don't understand why use
#ifdef _FSTDIO where a simple #if 1 would also do the same.
in reply to Re: Dual language
in thread Dual language