home *** CD-ROM | disk | FTP | other *** search
/ World of Shareware - Software Farm 2 / wosw_2.zip / wosw_2 / CPROG / CNEWS018.ZIP / PHONENUM.ZIP / PHONENUM.CHT < prev   
Text File  |  1989-12-05  |  5KB  |  54 lines

  1.    Flowchart for phonenum.c  (C News, Volume I, Issue 18)
  2.  
  3.                                                +-----------------+
  4.                                                |      Start      |
  5.                                                +-----------------+
  6.                                                         |
  7.                                                         |
  8.                                                         |
  9.                                                +-----------------+
  10.                                                |    Get Input    |
  11.                                                +-----------------+
  12.                                                         |
  13.                                                         |
  14.                                                         |
  15.                                                +-----------------+
  16.                                                | Correct Number  |-------------------------------------------------------+
  17.                                                | of Arguments ?  |                                                       |
  18.                                                +-----------------+                                                       |
  19.                                                         | Y                                                              |
  20.                                                         |                                                                |
  21.                                                         |                                                                |
  22.                                                +-----------------+                                                       |
  23.                    +---------------------------|    Add Names    |                                                       |
  24.                    |                         Y +-----------------+                                                       |
  25.                    |                                    | N                                                     +-----------------+
  26.                    |                                    |                                                       |     Display     |
  27.           +-----------------+                           |                                                       |    Error Msg    |
  28. +---------|    Ask User     |                  +-----------------+                                              +-----------------+
  29. |         |    for Data     |                  |   Search for    |                                                       |
  30. |         +-----------------+                  |      Name       |                                                       |
  31. |                  |                           +-----------------+                                                       |
  32. |                  |                                    |                                                                |
  33. |                  |                                    |                                                                |
  34. |         +-----------------+                           |                                                                |
  35. |         |   Write Data    |                           |                                                                |
  36. |         |     to File     |                  +-----------------+                                                       |
  37. |         +-----------------+                  |  Name Found ?   |---------------------------+                           |
  38. |                  |                           +-----------------+ N                         |                           |
  39. |                  |                                    | Y                                  |                           |
  40. |                  |                                    |                           +-----------------+                  |
  41. |         +-----------------+                           |                           |   Display "No   |                  |
  42. +---------|   Add Another   |                  +-----------------+                  | Name Found" Msg |                  |
  43.         Y |     Name ?      |                  |  Display Name   |                  +-----------------+                  |
  44.           +-----------------+                  +-----------------+                           |                           |
  45.                    | N                                  |                                    |                           |
  46.                    |                                    |------------------------------------+                           |
  47.                    +------------------------------------|----------------------------------------------------------------+
  48.                                                         |
  49.                                                +-----------------+
  50.                                                |       End       |
  51.                                                +-----------------+
  52.  
  53.  
  54.