Complex Images

Complex Images: The easiest way to define a complex image is to use an array which you declare and define at the same time. Here is an example:
   int predef[] = { red, red, red, red, red, red, red, red,
                    red, red, red, red, red, red, red, red,
                    red, red, yellow, yellow, yellow, yellow, red, red,
                    red, red, yellow, yellow, yellow, yellow, red, red,
                    red, red, yellow, yellow, yellow, yellow, red, red,
                    red, red, yellow, yellow, yellow, yellow, red, red,
                    red, red, red, red, red, red, red, red, 
                    red, red, red, red, red, red, red, red };
Obviously, you define red and yellow to hold the integer values for red and yellow.