Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 424 Bytes

README.md

File metadata and controls

16 lines (10 loc) · 424 Bytes

A C++ Quine

Quines are self-copying programs. They take zero arguments but reproduce their own source-code.

This is a simple C++ quine with a lot of magic numbers that I hope to clean up at some point...

Compile with g++:

>> g++ a_cpp_quine.cpp -o a.out
>> ./a.out

Warning ~ This is a self-replicating program!

>> diff a_cpp_quine.cpp another_cpp_quine.cpp