-
goosedump
goosedump --- IEC61850 GOOSE 测试程序-goosedump--- IEC61850 GOOSE Test App
- 2022-05-24 09:57:50下载
- 积分:1
-
IrisDataSet Kmeans&K均值
IrisDataSet Kmeans&K均值-IrisDataSet,Kmeansamp, K mean
- 2023-08-31 15:45:03下载
- 积分:1
-
使用SetWindowLong改变窗口的缺省窗口处理函数,从而建立可以显示不同颜色列表的程序...
使用SetWindowLong改变窗口的缺省窗口处理函数,从而建立可以显示不同颜色列表的程序-use SetWindowLong to change the default window to window handling functions, establish can show different colors scheduling procedures
- 2022-03-03 11:13:52下载
- 积分:1
-
qt实现的单位转换功能
一个简单的qt小程序,适合初学者,本功能实现多个单位的转换
- 2022-03-07 00:22:52下载
- 积分:1
-
动态代理例子
包括:动态代理,静态代理,
以及gdk实现的动态代理和cglib动态代理的区别说明,
代码放入工程直接就可以运行,查看区别......................
- 2023-05-04 17:05:03下载
- 积分: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
-
Bovine Latin
The cows have heard that the pigs use a secret language called "Pi...
对于元音字母(a e i o u)开头的英文单词结尾加上cow;相反,如果是辅音开头的英文单词,开头第一个字母移到末尾加ow-Bovine Latin
The cows have heard that the pigs use a secret language called "Pig Latin" when they want to communicate with each other without Farmer John being able to understand what they are saying. Thinking this is an excellent idea, they have invented their own version, aptly called Bovine Latin.
Converting an English word to a Bovine Latin word is quite simple. For words that start with a vowel ( a , e , i , o or u ), "cow" is added to the end of the word for example, "udder" becomes "uddercow". For words that do not begin with a vowel, the first letter is moved to the end of the word, and "ow" is added e.g., "farmer" becomes "armerfow". So "the cows escape at dawn" becomes "hetow owscow escapecow atcow awndow." The cows fervently believe that FJ will not understand this subterfuge.
Never known as enthusiastic linguists, the cows find this translation quite tedious and thus have asked you to write a pr
- 2023-01-30 03:25:04下载
- 积分:1
-
快速排序与交换排序算法比较
在Visual C++中建立一个单文档Windows应用程序,并实现下述功能:
运用随机函数自动生成一定规模的测试数据 (1...
快速排序与交换排序算法比较
在Visual C++中建立一个单文档Windows应用程序,并实现下述功能:
运用随机函数自动生成一定规模的测试数据 (10000个测试元素),并输出到文件中。
分别执行快速排序算法和交换排序算法对测试数据排序,并输出到不同的文件中。
使用较为精确的QueryPerformanceCounter和QueryPerformanceFrequency等函数记录算法耗时,精确到毫秒,以便更好地进行算法耗时比较。
分析两种不同算法,有针对性地设计与调整测试数据,进而通过比较算法耗时来得到更充分且更深刻的认识。
编写模块校验两种不同排序算法的输出结果正确且相同
-Quicksort sorting algorithm comparison and exchange
In the Visual C++ to create a single document Windows application, and to achieve the following functions:
The use of random function automatically generates a certain amount of test data (10000 test elements), and output to a file.
Respectively, and the exchange of the implementation of quick sort algorithm sorting algorithm to sort of test data, and output to a different file.
Using a more accurate record of QueryPerformanceCounter and QueryPerformanceFrequency algorithms such as time-consuming functions, accurate to the millisecond, in order to better carry out time-consuming compared algorithms.
Analysis of two d
- 2022-04-22 17:20:42下载
- 积分:1
-
some very useful examples of VC++ programming in Database, giving you the quick...
一些VC++数据库编程实例,教你在VC++数据库编程领域里快速入门-some very useful examples of VC++ programming in Database, giving you the quick totorial in the field of database VC++ programming
- 2022-07-23 23:58:24下载
- 积分:1
-
一个小的绘图软件,熟悉C++面向对象机制,适合初学者使用…
一个画图小软件,用来熟悉C++的OOP机制,初学者适用-A small drawing software, to become familiar with C++, OOP mechanism for beginners
- 2022-03-25 04:34:14下载
- 积分:1