第三章_输入与输出.ppt

第三章_输入与输出

* * * * * getch() getche() getchar() 只接受一個字元輸入 是 是 是 需按return 不要 不要 要 回應到螢幕上 無回應 回應 回應 # include 不要 不要 要 所屬標題檔檔 conio.h conio.h stdio.h * getch() getche() getchar() 只接受一個字元輸入 是 是 是 需按return 不要 不要 要 回應到螢幕上 無回應 回應 回應 # include 不要 不要 要 所屬標題檔檔 conio.h conio.h stdio.h * * * * * * * * 第三章 数据输入与输出 主要内容 概述 数据输出 putchar() printf() 数据输入 getchar() getch() scanf() 程序举例 Central Processing Unit 内存 显示器 硬盘 键盘 鼠标 内存与外设之间的数据传输 Write Read What is I/O? 概述 What is I/O? C语言无I/O语句,I/O操作由库函数实现 Source f.c Object f.obj Executable f.exe compile link Library .obj #include stdio.h 概述 字符输出函数 格式: int putchar(in

文档评论(0)

1亿VIP精品文档

相关文档