2010-08-09 27 views
0

可能重複:
Can a program output a copy of itself可能有人編寫打印程序的確切代碼的程序

可能有人編寫打印程序的確切代碼的程序

+2

重複的[程序可以輸出一份自己](http://stackoverflow.com/questions/1479489/can-a-program-output-a-copy-of-itself)和其他許多人 – sdcvvc 2010-08-09 18:07:21

+1

許多重複項。搜索http://stackoverflow.com/search?q=quine – 2010-08-09 18:08:25

+1

當然,這裏是:(這是Python代碼,但它也適用於Perl,Ruby和bash。) – Thomas 2010-08-09 18:08:31

回答