搜索资源列表
random_shuffle()
- 假设你需要指定范围内的随机数,传统的方法是使用ANSI C的函数random(),然后格式化结果以便结果是落在指定的范围内。但是,使用这个方法至少有两个缺点-suppose you need, within specified limits, random number, the traditional method is to use ANSI C function random (), then formatted results to the results fell within the
3
- 随机读写文件 写入5个学生记录,记录内容为学生姓名、学号、两科成绩。写入成功后,随机读取第三条记录,并用第二条记录替换。 -Random read and write document write five student records, records of the content for students name, student number, the two subjects. Write successful, random read a third record, and
erasefile
- 这个小工具可以比较安全的删除文件和目录。它删除文件的流程是: 1. 使用伪随机数填充整个文件 2. 将文件长度截为零 3. 将文件命名为随机字符串 4. 删除文件 需要指出的是,这样的删除在软件级别已经是不可能恢复了。但是特别重要的数据(军事级别?)是不允许这么简单的操作的,据某个标准称为了在特殊的硬件设备下都无法恢复硬盘数据,至少应该把文件区域写7遍,更安全的办法是把磁盘物理销毁(例如粉碎)。 -This gadget can be relatively sa
pick
- 本程序可以实现对任何纯文本文件进行随机抽奖的功能,其中一等奖,二等奖,三 等奖最多可以抽取100名,鼓励奖最多可以抽取1000名。总抽奖数量为1300人。样本的 文本文件长度没有限制。-This procedure can be achieved for any plain text file for the function of a random draw, in which the first prize, second prize, third prize can be take
dx_gen
- 乱数生成源码,十分适合学习文件操作练习-Random number generation source, is very suitable for studying the documents, hands-on exercises! ! ! !
weisuijishujiami
- 对文件进行伪随机数方法加密、解密的实现。-The file method of pseudo-random number encryption and decryption implementations.
FileStore
- 用于分档的分割与合并。原理是用目标文件所在的目录相加得到的ascii码值的和做为种子获得随机数,然后用得到的随机数列模2得到0或1,然后分别向两个文件写入,以实现简单的加密功能(当然种子的获取方法和分割的文件数都是可以改的,只要模的值不同即可)。文件合并功能正好相反,是读取两个文件后还原出原来的文件-For the sub-file division and consolidation. The principle is to use the directory where the target
Pseudo-random
- 伪随机数加密 对各类文件加密,利用一个随机序列与磁盘文件中的内容进行运算,将结果存入文件。解码时,则进行逆越算。该C程序已经经过调试-Pseudo-random number encrypted on the various types of file encryption, using a random sequence with the contents of the disk file operation will result into a file. Decoding, then
Asks-the-random-number
- 利用c语言程序编写的容易实现的求随机数程序-Asks the random number.rar
random-file
- 某雇员类Employee有编号、姓名、年龄、工资等数据成员。在当前路径下设计一个随机文件employee.dat保存各雇员的各项数据,并能够实现对指定数据的修改和显示。-Employee number, name, age, salary of an employee class data members. Current path design a the random file employee.dat save the data for each employee, and to be a
createdata
- 本程序,按照用户指定的数目随机生成数据,并将数据存储到一个文件中,然后再从文件中读取数据,打印到控制台窗口。-this program can create random data according to the number of user specified, then output the data into a file, and then read these data from file and output the data on the console.
0463669
- Random number application vb(The Random number application vb)
759010
- 课程设计,vc++做的,基本上满足要求,只是页面总数跟随机页面号的范围一样(Curriculum design, vc + + do, basically meet the requirements, but the total number of pages like the range of random page number)