我用matlab自己写的一个三维粒子群算法的程序,不是很精简,有简化的空间,但是功能还是很全面的,注释略多,看不惯可以自己删哈哈
2019-12-21 20:40:07 4KB 三维 粒子群 matlab 源代码
1
Requirements 1. Simulate a Unix file system on your Windows Platform 2. Understand the file system on Unix system, and the usage of i-nodes 3. Implement the function of sub-directory 4. The task needs to be completed using C++ or C 5. Tasks/Functionalities The following functions are required in your file system: 1. Allocate 16MB space in memory as the storage for your file system. The space is divided as blocks with block size 1KB Assume block address length is 32-bit; Design the information contained in i-node The i-node should support up to 10 direct block addresses The i-node should support at least one indirect block address 2. The fist block is used for storing the i-node for the root directory(/). While your program is lunched, two directories (/dir1 and / dir1/dir2) should be created, and also two files need to be written as /dir1/file1 and /dir1/dir2/file2 (5 marks) 3. File 1 and 2 contain the message of “This is file 1.” and “This is file2”. 4. Following commands should be supported in your system: a) Create a file:createFile fileName fileSize (10 marks) i.e.:createFile /dir1/myFile 1024 (in bytes) if fileSiz > max file size, print out an error message. The file content is filled up with filename + repeated digits from 0 - 9 i.e.: “myFile012345678901234567890123….” b) Delete a file:deleteFile filename (10 marks) i.e.:deleteFile /dir1/myFile c) Create a directory:createDir (5 marks) i.e.:createDir /dir1/sub1 d) Delete a directory:deleteDir (5 marks) i.e.: deleteDir /dir1/sub1 (The current working directory is not allowed to be deleted) e) Change current working direcotry:changeDir (5 marks) i.e.: changeDir /dir2 f) List all the files and sub-directories under current working directory:dir (5 marks) You also need to list at least two file attributes. (i.e. file size, time created, etc.) g) Copy a file : cp (5 marks) i.e.: file1 file2 h) Display the usage of storage space:sum (10 marks) Display the usage of the 16MB
2019-12-21 20:28:55 1.27MB 文件系统
1
采用js及jquery技术实现的图片滚动以及滚轮播放效果,简单易用
2019-12-21 20:28:41 650KB js 图片滚动 轮播 简单
1
参考了葱泥的FLASH作品。在此感谢。他的作品是用鼠标控制,我改成了用键盘,增加了爆炸动画等级设置等。有需要的可以参考下,积分已降到最小
2019-12-21 20:24:08 2.74MB FLASH3.0 打飞机 源代码
1
东南大学MFC课程设计 职工信息管理系统 包含完整的代码与详细的课程设计报告
2019-12-21 20:20:25 4.27MB 东南大学 MFC课程设计 职工信息管理
1
很好的动态人脸识别系统,源代码很详细,很经典,需要摄像头支持 采用VC++ 6.0编写,程序可以直接运行,算法很好!
2019-12-21 20:12:02 179KB 人脸识别 摄像头支持
1
说明:这是基于Qt编写的QT的音乐播放器源代码,里面包含超级详细教程及代码。这是本人的练手之作,学习过程中借鉴了网友的成果,实现了最基本的播放及进度条等基本功能。待完善后会再发布给大家。现在百忙之中将我的学习成果制作成学习教程供大家学习。同时我也希望大家都将自己的学习成果发布到网上,让大家共享。 由于我是初学者,该程序肯定会有BUG和许多需要改进的地方。有需要讨论的请加入我的QQ群84998716。 下载源代码后,由于不同版本的QT Creator创建的环境不同,可能无法正确运行,所以打开后,QT Creator可能会提示QT Creator发现其他环境的配置文件,问是否要载入,选择No。如果还不能正确运行,建议自己新建工程,将我的代码搬到新建的工程中。
1
说明:这是基于Qt编写的QT的音乐播放器源代码,里面包含超级详细教程及代码。这是本人的练手之作,学习过程中借鉴了网友的成果,实现了最基本的播放及进度条等基本功能。待完善后会再发布给大家。现在百忙之中将我的学习成果制作成学习教程供大家学习。同时我也希望大家都将自己的学习成果发布到网上,让大家共享。 由于我是初学者,该程序肯定会有BUG和许多需要改进的地方。有需要讨论的请加入我的QQ群84998716。 下载源代码后,由于不同版本的QT Creator创建的环境不同,可能无法正确运行,所以打开后,QT Creator可能会提示QT Creator发现其他环境的配置文件,问是否要载入,选择No。如果还不能正确运行,建议自己新建工程,将我的代码搬到新建的工程中。
1
里面有超级玛丽的源代码,还有详细的讲解,一步一步教你如何用vc做出超级玛丽
2019-12-21 20:09:09 1.4MB 游戏编程
1
学生管理系统(★★★) 使用下面的数据,用C设计一个简单的学籍管理系统,实现出最基本的功能。 学生基本信息文件(A.TXT)由以下内容: 学号 姓名 性别 宿舍号码 电话号码 01 张成成 男 501 87732111 02 李成华 女 101 87723112 03 王成凤 女 101 87723112 04 张明明 男 502 87734333 05 陈东 男 501 87732111 06 李果 男 502 87734333 07 张园园 女 102 87756122 … …. .. … ……….. 学生成绩基本信息文件(B.TXT)有以下内容: 学号 课程编号 课程名称 学分 平时成绩 实验成绩 卷面成绩 综合成绩 实得学分 01 A01 大学物理 3 66 78 82 02 B03 高等数学 4 78 -1 90 01 B03 高等数学 4 45 -1 88 02 C01 VF 3 65 76 66 … …. ………. .. .. … 功能要求及说明: (1)数据录入及插入功能: 对A..TXT和B.TXT进行数据录入,只录入每个学生的学号、课程编号、课程名称、学分、平时成绩、实验成绩、卷面成绩共7个数据. 综合成绩、学分由程序根据条件自动运算。并且最后也可插入学生数据。 综合成绩的计算:如果本课程的实验成绩为-1,则表示无实验,综合成绩=平时成绩*30%+卷面成绩*70%; 如果实验成绩不为-1,表示本课程有实验,综合成绩=平时成绩*15%+实验成绩*.15%+卷面成绩*70% . 实得学分的计算: 采用等级学分制. 综合成绩在90-100之间 ,应得学分=学分*100% 综合成绩在80-90之间 ,应得学分=学分*80% 综合成绩在70-80之间 ,应得学分=学分*75% 综合成绩在60-70之间 ,应得学分=学分*60% 综合成绩在60以下 ,应得学分=学分*0% (2)显示功能:要求可显示原A、B文件中的内容,并且插入信息后还可显示新内容。 (3)删除功能:当在A.TXT中删除一个学生时,自动地在B.TXT中删除此人所有信息,并显示输出结果。 (4) 排序功能:能实现选择按综合成绩或实得学分升序或降序排序并显示数据。
2019-12-21 20:08:30 90KB 学生管理 完整代码 详细 VC++
1