texture : complied but texture not applied !!!!

hii everyone,

I just begin OpenGL programmation by following the tutorials on " Super Bible Forth Edition " .

In chapter 8, texture Basics, I did " copy - past " for the programme named " Pyramid ", and managed to compile it using the
" gltools.h and math3d.h " in the folder " shared " from the zip containing the source files of the book ( downloadeable from this site )

the compilation goes awright, but when I run the program, I can’t see the pyramid, there is only the black background, but when I modified the code source, I removed everything concerning the texture, I commplied and run the program, and here is it ! the pyramid is visible !!

what kind of problem is that ?? does is have something to do with the texture parameters ???

pleaaaaase help me !!