Load and display the image of the tree limb
Listing 3 loads the image of the tree limb into a memory bitmap.
Then Listing 3 displays it immediately below the image of the starfish in Figure 1.
Listing 3. Load and display the image of the tree limb.
BITMAP *picB = NULL; picB = load_bitmap("tree.pcx", NULL); blit(picB, screen, 0,0,0,330,294,321); |