• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            Top-Down Design

             
            Top-Down Design

            A good strategy for attacking a complex problem is to devise a clever way of breaking up the problem into sub-problems, and the sub-problems into smaller and smaller sub-problems until eventually they are so small and trivial that they can be solved individually.

            Of course how that can be done is in general not necessarily trivial.

            Exactly the same is true in writing complex computer programs. This strategy is often called top-down design.

            C++ allows one to decompose a complex program into smaller sub-programs called functions.

            There are many good reasons for using functions:

            1. Better Management of Large Projects -- Large and complex programs can be broken up into smaller more manageable pieces. Each piece can be worked on independently and at the same time by different groups of programmers.

            2. Code Reusability -- After a function has been coded and fully tested, it can be reused by any other programmers.

            3. Procedural Abstraction or Information Hiding -- In order to use a thoroughly tested function, the user only needs to know what the functions does, and not how the function actually accomplishes the task. The function can be treated as a "black-box".

             link:http://cis.poly.edu/~mleung/CS1114/s07/ch04/top_down.htm

            posted on 2008-03-25 13:46 zmj 閱讀(373) 評論(0)  編輯 收藏 引用

            久久国产成人亚洲精品影院| 久久久久国产精品嫩草影院| AA级片免费看视频久久| 久久99精品国产99久久6| 久久久久香蕉视频| 久久偷看各类wc女厕嘘嘘| 久久99国产综合精品女同| 88久久精品无码一区二区毛片| 国产成人无码精品久久久免费| 一本久久精品一区二区| 久久超碰97人人做人人爱| 国产精品免费久久久久影院| 久久精品国产一区二区电影| 很黄很污的网站久久mimi色| 久久精品国产欧美日韩| 99久久国产宗和精品1上映| 99久久精品毛片免费播放| 欧美伊人久久大香线蕉综合69| 久久丫精品国产亚洲av| 亚洲国产精品久久久久婷婷软件| 久久久不卡国产精品一区二区| 久久久SS麻豆欧美国产日韩| 久久成人国产精品| 久久精品国产亚洲AV无码麻豆| 久久久久亚洲AV无码专区桃色| 国产三级久久久精品麻豆三级| 欧美日韩精品久久久久| 久久精品国产99久久无毒不卡| 欧美粉嫩小泬久久久久久久| 色综合久久无码中文字幕| 久久亚洲国产成人精品无码区| 久久精品国产只有精品2020| 亚洲欧美国产日韩综合久久| 国产精品成人99久久久久 | 91精品国产综合久久婷婷| 国产精品成人精品久久久 | 国产福利电影一区二区三区久久久久成人精品综合 | 久久久久人妻一区二区三区| 99精品久久精品一区二区| 色综合久久久久无码专区| 精品综合久久久久久97|