home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / IDIOMS.ZIP / 2PI2.C < prev    next >
C/C++ Source or Header  |  1991-12-04  |  290b  |  15 lines

  1. /* Copyright (c) 1992 by AT&T Bell Laboratories. */
  2. /* Advanced C++ Programming Styles and Idioms */
  3. /* James O. Coplien */
  4. /* All rights reserved. */
  5.  
  6. #include "2angle.h"
  7.  
  8. Angle northeast = 45;
  9.  
  10. int main() {
  11.     Angle northeast2 = 45;
  12.     northeast.print();
  13.     northeast2.print();
  14. }
  15.