Page 145 - DCAP408_WEB_PROGRAMMING
P. 145
Unit 8: File I/O
6. If you select multiple files, File Name displays each selected file within quotation marks. Notes
Comment.
7. The lexer returns a token and continues lexing as if it were at the beginning of the document
again. Explain.
8. Tokens don’t tell you the actual color that the text should be, but they do give you enough
information to figure it out. Explain with examples.
Answers: Self Assessment
Fill in the blanks:
1. Stream 2. Mode
3. Arbitrary 4. Normal (load at buffer base)
5. Buffer 6. TheOpen
7. Open dialogue 8. Readers
9. Colored 10. Text editors
8.7 Further Readings
Books Charles Petzold, Programming Windows, Microsoft Press
Feng Yuan, Windows Graphics Programming: Win32 GDI and DirectDraw, Prentice
Hall Professional
Herbert Schildt, Windows Programming: Annotated Archives, Osborne/McGraw-
Hill
William H. Murray, Chris H. Pappas, Windows 3.1 Programming, Osborne McGraw-
Hill
Online links http://en.wikipedia.org/wiki/Text_editor
http://en.wikipedia.org/wiki/Dialog_box
LOVELY PROFESSIONAL UNIVERSITY 139