<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d23126610\x26blogName\x3dWhat+is+the+name+of+this+blog?\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttps://whatistheurlofthisblog.blogspot.com/search\x26blogLocale\x3den_US\x26v\x3d2\x26homepageUrl\x3dhttp://whatistheurlofthisblog.blogspot.com/\x26vt\x3d347516848766148112', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

Wednesday, May 10, 2006

A song that goes on and on forever

Of course, such a song's lyrics cannot be typed out in full, so I'll have to type them in C code:

#include<stdio.h>
void main()
    {for(;;){
        printf("This is the song that has no end\n");
        printf("It just goes on and on, my friend\n");
        printf("Some people started singing it not knowing what it was.\n");
        printf("Now they’ll continue singing it forever just because...\n");
    }
}


Try it out at your local C/C++ compiler. ;-)

Tero