-
创造了这个应用程序向导为您FtpDown申请。此应用程序
不仅展示了使用Microsoft基础类的基本知识
而且也是写你的应用程序的起点。...
创造了这个应用程序向导为您FtpDown申请。此应用程序
不仅展示了使用Microsoft基础类的基本知识
而且也是写你的应用程序的起点。-AppWizard has created this FtpDown application for you. This application
not only demonstrates the basics of using the Microsoft Foundation classes
but is also a starting point for writing your application.
- 2022-06-15 02:18:52下载
- 积分:1
-
一个空中翻书的小程序,其中一段是自动搜索可用串口的
一个空中翻书的小程序,其中一段是自动搜索可用串口的-Book an air of small procedures, in which a section is automatically search for available serial
- 2022-06-19 20:53:26下载
- 积分:1
-
java的数据流
3.11 流
知道流的分类
掌握IO常用操作
Java中的流代表程序中数据的流通,是以先进先出方式发送信息的通道。
图3- 11 输入流和输出流
流可以分为不同的类型,按照不同的分类方式,从不同的角度来观察,概念上会有重叠。
按照流的方向,可以将流分为输入流和输出流:
输入流(InputStream):只能从中读取数据,而不能向其写入数据。
输出流(OutputStream):只能向其写入数据,而不能从中读取数据。
按照处理流的基本单位可以将流分为字节流和字符流:
字节流:在流中处理的基本单位为字节(8位的byte)的流。
字符流:在流中处理的基本单位为字符(16位的Unicode)的流。
按照流的角色分,可以将流分为节点流和过滤流:
节点流:可以从/向一个特定的IO设备(如磁盘或网络)读/写数据的流,节点流又常被称为低级流(Low Level Stream),节点通常是指文件、内存和管道。
过滤流:实现对一个已经存在的流的连接和封装,通过所封装的流的功能调用实现数据读/写功能的流。这种对流进行处理的流称为过滤流。
字节流中存放的是字节序列,无论是输入还是输出,都是直接对字节进行处理。InputStream和OutputStream为字节输入/输出流类的顶层父类。字符流中存放的是字符序列,无论是输入还是输出,都是直接对字符处理。字符流的顶层父类是Reader和Writer。节点流通常直接对特定的IO设备(如磁盘或网络)进行读写,而过滤流通常对已存在的流进行连接和封装,从而对已有的流进行特殊处理。
对象的序列化就是把对象写到一个输出流中,对象的反序列化是指从一个输入流中读取一个对象。
总结:
字节流:
输入流 输出流
FileInputStream FileOut
- 2022-01-25 23:22:03下载
- 积分:1
-
这是有关VC++的一个应用程序,主要实现对话框编辑的应用
这是有关VC++的一个应用程序,主要实现对话框编辑的应用-It is about a VC++ application, the main dialog editing application to achieve
- 2023-06-12 18:45:02下载
- 积分:1
-
六个JAVA小程序:记事本,计算器,连接SQL,SUNDAM下载,跑马灯,SMTP....
六个JAVA小程序:记事本,计算器,连接SQL,SUNDAM下载,跑马灯,SMTP.-six small Java program : notebook, calculator, SQL, SUNDAM downloaded 5,250, SMTP.
- 2022-03-12 01:33:21下载
- 积分:1
-
利用Word统计字数和检查拼写错误
利用Word统计字数和检查拼写错误-use statistics and inspection wordage spelling errors
- 2022-06-19 10:45:04下载
- 积分:1
-
软件学院数据结构与算法分析实验报告
Huffman编码(二叉树应用)...
软件学院数据结构与算法分析实验报告
Huffman编码(二叉树应用)-School of Software Data Structures and Algorithm Analysis lab report Huffman coding (binary application)
- 2022-02-24 14:51:21下载
- 积分:1
-
This procedure is used to achieve the MFC to read out the MAC address, and be ab...
这个程序是用MFC来实现的能够读出MAC地址,并能够以显示出地址,以16进制的形式-This procedure is used to achieve the MFC to read out the MAC address, and be able to demonstrate address, 229 to 16 in the form of
- 2022-12-20 06:50:03下载
- 积分:1
-
每一个opengl都被连接到一个着色描述表上。着色描述表将所有的opengl调用命令连
// 接到device context(设备描述表)上,将openg...
每一个opengl都被连接到一个着色描述表上。着色描述表将所有的opengl调用命令连
// 接到device context(设备描述表)上,将opengl的着色描述表定义为hrc ,要让程序能
// 够绘制窗口的话,还需要创建一个设备描述表,windows的设备描述表被定义为 hdc,
// dc将窗口连接到gdi(graphics device interface图形设备接口)。而rc-Each one opengl are connected to a shader description table. Rendering Context all the opengl call the command with// receiving device context (device descriptor table), on the opengl rendering Context is defined as the hrc, let the program can be// enough to draw a window, also need to create a device description tables, windows of the device description table is defined as hdc,// dc will be the window to connect to the gdi (graphics device interface graphics device interface). The rc
- 2022-01-25 19:43:12下载
- 积分:1
-
经典的消除小球游戏,类似于PPC2003上的游戏,美国人编写,界面华丽,思路清晰,值得借鉴....
经典的消除小球游戏,类似于PPC2003上的游戏,美国人编写,界面华丽,思路清晰,值得借鉴.-The elimination of the classic ball game, similar to PPC2003 games, the Americans prepared gorgeous interface, clear lines of thought, is worth learning from.
- 2022-03-07 04:41:16下载
- 积分:1