Figured out my problem with the original post.
This code draws a red brick wall that fills the screen. What I would like to do is stagger the rows. Every other row indented on the right 20 pixels. I can\'t figure it out. Any help would be appreciated.
void DarkGDK ()
const int red = dbRGB(255,0,0);
const int black = dbRGB(0,0,0);
for(int x=0; x<=800; x+=40)
for(int y=0; y<=600; y+=20)
// Draw red bricks with a 1 pixel
// black border around the bricks
// Pause the program until the user presses a key.
Over 40 & Back to School
Most Awesome Blog!