home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 3 / BBS in a box - Trilogy III.iso / Files / Prog / B-C / C++Source Code Fmtr Folder / Tests / Example.cp < prev    next >
Encoding:
Text File  |  1991-01-10  |  271 b   |  17 lines  |  [TEXT/MPS ]

  1. void foo(int x,
  2.          int y)
  3. {
  4.     if (x > y)
  5.         return true;
  6.     else
  7.         // Here comes the problem, it doesn't matter what kind of compound statement
  8.         // I put here, as long as it has curly braces. This comment has not affect.
  9.  
  10.         for (i = 0; i < x; i++)
  11.         {
  12.             printf(i);
  13.         }
  14. }
  15.  
  16.  
  17.