quel estl´interet de mettre en if la boucle for??
mais pour comprendre pardi!
sinon je te donne le programme et ça marche pas je vois pas l´erreur!
voila:
- include "../Ngck_moteur/Ngck.h"
//
--------------------------------------------------
---------
void InitialiseGame()
{
}
//
--------------------------------------------------
---------
void GameLoop()
{
int i;
int j;
for (i=0; i<30; i++){
for (j=0; j<20; j++){
if ( ((i+J)&0x01)==0)
KPrintSquare(i,j);
}
}
}
//
--------------------------------------------------
---------