previous | start | next

## Displaying Graphical Shapes

- Console applications read input from the keyboard (using `cin`) and display text output on the screen (using `cout`).
- Graphics applications read keystrokes and mouse clicks and display graphical shapes such as lines and circles through a window object called `cwin`.

  >     Circle c;
  >     ...
  >     cout << c; /* Won't display the circle */
  >     cwin << c; /* The circle will appear in the graphics window */

- To use graphics program you must include the header `ccc_win.cpp`.
- This graphics package was created for use in the textbook (it's not part of standard C++).

previous | start | next