01: /****************************************************************************
02: ** COPYRIGHT (C):    1996 Cay S. Horstmann. All Rights Reserved.
03: ** PROJECT:          Computing Concepts with C++ 
04: ** FILE:             ccc.cpp
05: ****************************************************************************/
06: 
07: 
08: #include "ccc_win.cpp"
09: 
10: 
11: int main(void)
12: {  
13:    Point p(1, 3);
14:    Point q = p;
15:    Point r = p;
16:    q.move(0, 1);
17:    r.move(1, 0);
18:    Line s(p, q);
19:    Line t(p, r);
20:    cwin << s << t;
21:    s.move(1, 0);
22:    t.move(0, 1);
23:    cwin << s << t;
24: 
25:    return 0;
26: }
27: