Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Dual language

by smeezekitty (Novice)
on Sep 22, 2012 at 21:19 UTC ( #995134=note: print w/replies, xml ) Need Help??


in reply to Re: Dual language
in thread Dual language

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.