Wednesday, April 25, 2012

Yo Dawg, I heard you like recursion

Can't sleep, thought of this.

#include <iostream>

void recurse()
{
    std::cout << " recurse while you";
    recurse();
}

int main()
{
    std::cout << "Yo dawg, I heard you like recursion, "
              << "so I put a function in yo function "
              << "so you can";
    recurse();
}

-Bry

No comments:

Post a Comment