DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
NetGlyph.cpp
#include <iostream>
using namespace std;
void function1 ()
{
int i=1;
cout << i++ << endl;
function1();
}
void function2 ()
{
static int i=1;
cout << (i+=10) << (i+=10) << (i+=2) << (i+=100) << (i+=50) << (i+=4) << (i+=670) << (i+=20);
if (i<100000000) function2();
}
main()
{
int i;
function2();
}




