MosaicFuneral 812 Nearly a Posting Virtuoso

Use a loop that decreases its-self. for(int i = numNames; i > 0; i--)

Alex Edwards commented: Aye, that would work! =) +5
MosaicFuneral 812 Nearly a Posting Virtuoso

I saw people asking this, in Yahoo Answers last week.

I like this funnier leaning tree version(I don't have a life to be writing this stuff):

for(int i = 0; i < 16; i++)
    {
         for(int j = 0; j < 16 - i; j++)
         {
                 for(int l = 0; l < 1 + j / 2; l++)
                 {
                         printf(" ");
                 }
         }
         for(int k = 0; k < i; k++)
         {
                 printf("*");
         }
         printf("\n");
    }

It's also possible to do an upside down version, with only two 'for' loops, and one 'if-else'.
It should be easy to turn that into a tree, too. A good practice-exercise.

MosaicFuneral 812 Nearly a Posting Virtuoso

The installation of the current beta isn't as good as it should be, at the moment.
You must uninstall all past versions, to be safe, you must use the default {drive}:\Dev-Cpp\ (at least on the XP installations, I've noted), make sure it's not dir Dev-C++ like from the older versions; on Vista make sure you have full admin privileges to install(maybe even to compile).

edit:
And note: It's in beta, so you may find a minor inconveniences, here-and-there.

MosaicFuneral 812 Nearly a Posting Virtuoso

cout not understood? Are you including the right headers?

There's Code::Blocks, and Dev-C++

MosaicFuneral 812 Nearly a Posting Virtuoso

If you need even larger numbers you might want to look at SSE:
http://www.tuleriit.ee/progs/rexample.php

MosaicFuneral 812 Nearly a Posting Virtuoso

Emerald214, you already have this posted in the Game Dev. forms.

Just try this first, then slowly add things back till you find the problem.

void display()
{
        glClear(GL_COLOR_BUFFER_BIT);
	glFlush();
}

int main()
{
  glutCreateWindow("glut Test");
  glutDisplayFunc(display);
  glutMainLoop();

  return(0);
}