13.07.2015 Views

M182-lect1 pdf

M182-lect1 pdf

M182-lect1 pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The programming process2. Implement :a) Write instructions (continued)Some operations that we may need our program toperform are so common (e.g. reading input from thekeyboard) that it would be expedient to have a readymodule for it.A collection of such modules is called a library. Forexample, the Input/Output library contains modules(functions) that can be invoked to read input from thekeyboard, or write output to the screen, etc.A library function may be invoked from within aprogram.9

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!