Category: Quines

A couple of quines in Brainfuck 0

A couple of quines in Brainfuck

 

A quine in Fortran 90 0

A quine in Fortran 90

While Fortran has been though to develop scientific applications, it can also be used for programmer amusement, here is a nice quine written in Fortran:    Program QUINE     character*51::code(16),li     integer::lin,qn,lqn...

Quines in C 0

Quines in C

Here is a Quine in ANSI C.  

 

 

 

 

And here's another (much shorter) one:

  #include <stdio.h> char x[]="#include <stdio.h>%cchar x[]=%c%s%c;%cint main() {printf(x,10,34,x,34,10,10);return 0;}%c"; int main() {printf(x,10,34,x,34,10,10);return 0;}...

Quines: a new Hello World 0

Quines: a new Hello World

A quine, in computing, is a program producing its complete source code as its only output without simply opening the source file of the program and printing the contents (such actions are considered cheating). This...