ManicQin wrote:On Jul 22, 1:58 pm, Mirco Wahab <wa...@chemie.uni-halle.dewrote:I'd use the heuristic approach: If you save this to manicqin.c,SO... ... ...
then it's clearly a C program. Use manicqin.cpp, manicqin.cxx
or manicqin.cc - and I'd sure count it as a C++ program and
evaluate it as C++. Wouldn't you too?
If I save it as a .cs can I call it C#? I'm just kidding.
No kidding here. Theres one example here:
http://perl.plover.com/obfuscated/bestever.pl
Save it as .ps and/or copy it directly to your (PS-)printer,I always liked the one at http://www.de.ioccc.org/1986/applin.c.
it'll be Postscript and print something there. Save it
as .pl and run it on the command line, it'll be a Perl
file and print (almost) the same on stdout.
It's a C program, because the source file name ends in .c, but
rename it to end in .f, and it's a Fortran program (which does
exactly the same thing). And on Unix, drop the ending and give
it execution permission, and it's a shell script.
--
James Kanze (GABI Software) email:ja*********@gmail.com
Conseils en informatique orientée objet/
Beratung in objektorientierter Datenverarbeitung
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34