A nice sample of code that will render a spiral on your terminal screen. This could be useful indeed.

This code sample will render a spiral on your terminal when you compile and execute it. Very interesting indeed. #include <sstream> #include <iostream> #include <string>   std::string rle = "32 2@14 1n16 11@9 2@10 1n13 3@13 3@8 1@7 1n10 2@21 2@7 1@5 1n7 2@27 1@6 1@4 " "1n6 1@10 10@10 2@5 2@2 1n4 2@7 4@9 … Read more