DL : 0
目录
第一部分 基础篇
001 第一个C程序
002 运行多个源文件
003 求整数之积
004 比较实数大小
005 字符的输出
006 显示变量所占字节数
007 自增/自减运算
008 数列求和
009 乘法口诀表
010 猜数字游戏
011 模拟ATM(自动柜员机)界面
012 用一维数组统计学生成绩
013 用二维数组实现矩阵转置
014 求解二维数组的最大/最小元素
015 利用数组求前n个质数
016 编制万年历
017 对数组元素排序
018 任意进制数的转换
019 判断回文数
020 求数组前n元素之和
021 求解钢材切割的最佳订单
022 通过指针比较整数大小
023 指向数组的指针
024 寻找指定元素的指针
025 寻找相同元素的指针
026 阿拉伯数字转换为罗马数字
027 字符替换
028 从键盘读入实数
029 字符行排版
030 字符排列
031 判断字符串是否回文
032 通讯录的输入输出
033 扑克牌的结构表示
034 用“结构”统计学生成绩
035 报数游戏
036 模拟社会关系
037 统计文件的字符数
038 同时显示两个文件的内容
039 简单的文本编辑器
040 文件的字数统计程序
041 学生成绩管理程序
第二部分 数据结构篇
042 插入排序
043 希尔排序
044 冒泡排序
045 快速排序
046 选择排序
047 堆排序
048 归并排序
049 基数排序
050 二叉搜索树操作
051 二项式系数递归
052 背包问题
053 顺序表插入和删除
054 链表操作(1)
055 链表操作(2)
056 单链表就地逆置
057 运动会分数统计
058 双链表
059 约瑟夫环
060 记录个人资料
061 二叉树遍利
062 浮点数转换为字符串
063 汉诺塔问题
064 哈夫曼编码
065 图的深度优先遍利
066 图的广度优先遍利
067 求解最优交通路径
068 八皇后问题
069 骑士巡游
070 用栈设置密码
071 魔王语言翻译
072 火车车厢重排
073 队列实例
074 K阶斐波那契序列
第三部分 数值计算与趣味数学篇
075 绘制余弦曲线和直线的迭加
076 计算高次方数的尾数
077 打鱼还是晒网
078 怎样存钱以获取最大利息
079 阿姆斯特朗数
080 亲密数
081 自守数
082 具有abcd=(ab+cd)2性质的数
083 验证歌德巴赫猜想
084 素数幻方
085 百钱百鸡问题
086 爱因斯坦的数学题
087 三色球问题
088 马克思手稿中的数学题
089 配对新郎和新娘
090 约瑟夫问题
091 邮票组合
092 分糖果
093 波瓦松的分酒趣题
094 求π的近似值
095 奇数平方的有趣性质
096 角谷猜想
097 四方定理
098 卡布列克常数
099 尼科彻斯定理
100 扑克牌自动发牌
101 常胜将军
102 搬山游戏
103 兔子产子(菲波那契数列)
104 数字移动
105 多项式乘法
106 产生随机数
107 堆栈四则运算
108 递归整数四则运算
109 复平面作图
110 绘制彩色抛物线
111 绘制正态分布曲线
112 求解非线性方程
113 实矩阵乘法运算
114 求解线性方程
115 n阶方阵求逆
116 复矩阵乘法
117 求定积分
118 求满足特异条件的数列
119 超长正整数的加法
第四部分 图形篇
120 绘制直线
121 绘制圆
122 绘制圆弧
123 绘制椭圆
124 设置背景色和前景色
125 设置线条类型
126 设置填充类型和填充颜色
127 图形文本的输出
128 金刚石图案
129 飘带图案
130 圆环图案
131 肾形图案
132 心脏形图案
133 渔网图案
134 沙丘图案
135 设置图形方式下的文本类型
136 绘制正多边形
137 正六边形螺旋图案
138 正方形螺旋拼块图案
139 图形法绘制圆
140 递归法绘制三角形图案
141 图形法绘制椭圆
142 抛物样条曲线
143 Mandelbrot分形图案
144 绘制布朗运动曲线
145 艺术清屏
146 矩形区域的颜色填充
147 VGA256色模式编程
148 绘制蓝天图案
149 屏幕检测程序
150 运动的小车动画
151 动态显示位图
152 利用图形页实现动画
153 图形时钟
154 音乐动画
第五部分 系统篇
155 读取DOS系统中的国家信息
156 修改环境变量
157 显示系统文件表
158 显示目录内容
159 读取磁盘文件
160 删除目录树
161 定义文本模式
162 设计立体窗口
163 彩色弹出菜单
164 读取CMOS信息
165 获取BIOS设备列表
166 锁住硬盘
167 备份/恢复硬盘分区表
168 设计口令程序
169 程序自我保护
第六部分 常见试题解答篇
170 水果拼盘
171 小孩吃梨
172 删除字符串中的特定字符
173 求解符号方程
174 计算标准差
175 求取符合特定要求的素数
176 统计符合特定条件的数
177 字符串倒置
178 部分排序
179 产品销售记录处理
180 特定要求的字符编码
181 求解三角方程
182 新完全平方数
183 三重回文数
184 奇数方差
185 统计选票
186 同时整除
187 字符左右排序
188 符号算式求解
189 数字移位
190 统计最高成绩
191 比较字符串长度
192 合并整数
193 矩阵逆置
194 删除指定的字符
195 括号匹配
196 字符串逆置
197 SIX/NINE问题
198 单词个数统计
199 方差运算
200 级数运算
201 输出素数
202 素数题
203 序列排序
204 整数各位数字排序
205 字符串字母移位
206 Fibonacc数列
第七部分 游戏篇
207 商人过河游戏
208 吃数游戏
209 解救人质游戏
210 打字训练游戏
211 双人竞走游戏
212 迷宫探险游戏
213 迷你撞球游戏
214 模拟扫雷游戏
215 推箱子游戏
216 五子棋游戏
第八部分 综合实例篇
217 综合CAD系统
218 功能强大的文本编辑器
219 图书管理系统
220 进销存管理系统
Update : 2008-12-21
Size : 3.1mb
Publisher : wl409873350
DL : 0
Microsoft TCP/IP Sockets Development Kit 1.0 for dos & windows 开发包-Microsoft TCP/IP Sockets Development Kit 1.0 for dos windows Development Kit
Update : 2025-02-19
Size : 5kb
Publisher :
DL : 0
这是一些非常经典的3D程序
他们都只有几十K,有的甚至只有几K大小,但是实现了非常好的效果
虽然没有源码,但是相信还是可以激励大家一下的-there are many excellent 3D programme with just several 10 kilo-bytes, even sigle kilo-bytes. They would carry out very good perfomance but there is no source code. anyway please encourage for this
Update : 2025-02-19
Size : 467kb
Publisher : 王Sir
DL : 0
申请一个10M的文件空间虚拟成一个磁盘,按照1K大小划分扇区,依序编号,实现单卷单级目录的文件系统。
根据文件分配方案设计相应的FCB结构,空闲空间管理结构,磁盘卷总信息结构,目录区信息结构等,存放在虚拟磁盘的相应区域
编写管理程序,实现对虚拟磁盘的全权控制,犹如针对真实磁盘使用模式类似DOS或者Linux的终端方式
本文简单介绍了磁盘文件格式FAT及其他相关背景和算法,并采用FAT方案实现单卷、单级目录的虚拟文件系统。描述了整个程序的基本思路模块划分、流程图及代码的实现。-application of a 10M file space into a virtual disk, according to the size of 1K division sector, in order numbers, to achieve a single volume directory single file system. According to the paper distribution program to design appropriate FCB structure, and the leisure space management structure, the total disk volumes of information structure, District information directory structure, stored in the virtual disk preparation of the corresponding regional management procedures, to achieve the virtual disk full control as with real disk usage patterns similar to the DOS or Linux terminal is a simple way of Disk File FAT format, and other relevant background and algorithms, and using FAT programs to achieve a single volume. single-level directory of virtual file system. Description of the whol
Update : 2025-02-19
Size : 338kb
Publisher : 戴天天
DL : 0
我用VFP编写的选股软件,要用胜龙6(DOS)的数据.-prepared by the Stoc k software, use Shenglong 6 (DOS) for more information.
Update : 2025-02-19
Size : 3.04mb
Publisher : wxc
DL : 0
dos下时钟显示程序
dos下时钟显示程序
dos下时钟显示程序-dos under the clock display program under dos cloc k display program dos Clock display program under dos clock display program dos Clock Display Program
Update : 2025-02-19
Size : 3kb
Publisher : xjq2007
DL : 0
multism 10 的KEY,multism 是功能强大的仿真软件,在模拟电路上有好的应用-multism 10 of the KEY, multism is a powerful simulation software, in the analog circuit has a good application on
Update : 2025-02-19
Size : 255kb
Publisher : 徐宁
DL : 0
DOS下按键代码表,方便相关编程人员,表中的一些值对有的计算机如果不同,请参照您的计算机实际情况-DOS code form under the button for the relevant programming staff, the table of some value on some computers, if different, please refer to the actual situation in your computer
Update : 2025-02-19
Size : 2kb
Publisher : su
DL : 0
迷你QQ,仅仅几十K,能在DOS下工作的QQ.基础功能齐全-Mini QQ, just a few dozen K, can work under DOS the QQ. Basic functions
Update : 2025-02-19
Size : 43kb
Publisher : 余益
DL : 0
本程序的功能是寻找前k条最短路径,在DOS窗口中先输出了网络节点的拓扑结构,然后输入源节点与目的节点,输出最短路径以及前k条最短路径。
-The functionality of the program is to find pre-k shortest paths. First output in the DOS window of the topology of the network node, and then enter the source node and destination node, the output includes pre-k shortest paths and the shortest path.
Update : 2025-02-19
Size : 2kb
Publisher : shenjian
DL : 0
DOS下运行的超级玛丽,空格:跳,K:发射子弹-Super Mario run under DOS
Update : 2025-02-19
Size : 7kb
Publisher : 韩宗稳
DL : 0
世界程序大赛第一名获得者的参赛作品。著名的1.TXT。
在DOS中输入:DEBUG<1.txt(先要进入文件所在盘),竟然得到3D动画和音乐。
非常神奇的代码,虽然只有几K大小,但它所带来的惊喜,无法用大小来形容。-World program contest entries first prize winner. Famous 1.TXT. Input in DOS: DEBUG < 1.txt (need to enter the file where the disk), turned out to be 3D animation and music. Very magical code, although only a few K in size, but it brings surprises can not use size to describe.
Update : 2025-02-19
Size : 6kb
Publisher : zz520
DL : 1
打狗棒1.0用户说明书
一. 打狗棒1.0简介.
打狗棒1.0是利用80386/80486的VM86技术模拟软件狗, 来实现解密的. 进行解密时,
软件先带狗运行, 用打狗棒得到软件狗的相关数据; 然后拿去软件狗, 运行打狗棒, 则
软件可以无狗运行了.
二. 运行环境.
它运行在DOS 3.0以上版本, 注意, 不支持HIMEM.SYS和QEMM.EXE, 因此, CONFIG.SYS
的配置最好如下:
FILES=30
BUFFERS=30
三. 安装软件.
把软盘上的CANE.EXE和*.LAD拷贝到硬盘上即可(未加密).
四. 运行软件.
在安装软件的当前目录键入CANE /H, 然后回车, 则显示帮助信息:
-------------------------HELP------------------------
CANE -----Emulate the softdog
CANE /Axxx -----Analyse the softdog,xxx=extend mem kept
CANE /R -----Read the softdog file
CANE /W -----Write the softdog file
CANE /U -----Free memory and to dos
CANE /H -----Help
其中, CANE 表示模拟软件狗运行软件.
CANE /Axxx 表示分析软件狗相关的数据, xxx表示为数据留出的扩展内存
数(以K为单位).
CANE /R 表示读已分析的软件狗的数据.
CANE /W 表示把分析的软件狗的数据写到文件中.
CANE /U 表示把打狗棒程序从内存中撤消.
CANE /H 表示帮助.
因此, A> 要解密一个软件狗, 步骤如下:
⑴. 把软件狗插到打印口, 进入到打狗棒所在的目录, 键入CANE /Axxx(其中
xxx为要留的以K为单位的扩展内存数),然后运行要解密的软件.
⑵. 运行完毕后, 回到打狗棒所在的目录, 运行CANE /W, 把软件狗相关的数据
写到当前目录下的文件中.
⑶. 运行CANE /U 退出VM86模式,回到实模式下.
B> 要无狗运行软件, 则在打狗棒所在的目录下运行CANE然后回车, 再运行
CANE /R然后回车, 再运行原来的软件即可.
五. 软件中附带UCDOS5.0单用户版的解密数据(参考数据, 对于不同用户数据不一定相同),
即CANE0378.LAD和CANE03BC.LAD.
六. *.LAD的数据格式
*.LAD文件的数据格式如下:
第1,2字节: 未用
第3,4,5,6: 数据长度
第7字节开始(存放数据): 属性 端口 数据
...
其中属性占1个字节, 00H: 输入一字节
01H: 输入一字
10H: 输出一字节
11H: 输出一字
端口占2个字节, 为输入/输出数据的端口, 如并口数据端口为0378H
数据是输入输出的数据, 如果属性为X个字节, 则占X字节,
七. 程序的编译和连接
在当前目录下, 键入命令行: pasm cane, 然后回车即可.
注意, 必须在PATH中设置BORLANDC++的路径. 例如, 如果BORLANDC++的目录为
C:\BORLANDC, 则在AUTOEXEC.BAT文件的PATH中加入C:\BORLANDC\BIN;
Update : 2012-12-24
Size : 128.75kb
Publisher : axroot@126.com
DL : 0
本书第一部分讲述的是传统的网络接口N e t B I O S、重定向器以及通过重定向器进行的各类网络通信。尽管本书大部分内容均围绕Wi n s o c k编程这一主题展开,但是,A P I比起Wi n s o c k
来,仍然具有某些独到之处。其中,第1章探讨的是N e t B I O S接口,它和Wi n s o c k类似,也是
一种与协议无关的网络A P I。N e t B I O S提供了异步调用,同时兼容于较老的操作系统,如O S / 2
和D O S等等。第2章讨论了重定向器的问题,它是接下去的两个新主题—邮槽(第3章)和
命名管道(第4章)的基础。重定向器提供了与传输无关的文件输入/输出方式。邮槽是一种
简单的接口,可在Wi n d o w s机器之间实现广播和单向数据通信。最后,命名管道可建立一种双向信道,这种信道提供了对Wi n d o w s安全通信的支持。-The first part of the book tells the story of a traditional network interface N et BIOS Redirector redirector various types of network traffic. Although most of the contents of this book are around Wi nsock programming this theme than Wi nsock to, but, API still has some unique. The first chapter discusses N et BIOS interface, it and Wi nsock similar, also a protocol-independent network API. N et BIOS provides asynchronous call, at the same time compatible with the older operating system, such as OS/2 and DOS. Chapter 2 discusses the redirect problem, it is the two new theme- Mailslot (Chapter 3), and named pipes (Chapter 4), the basis of next. The redirector has nothing to do with the transmission file input/output mode. A mail slot is a simple interface, broadcast and one-way data communications between Wi ndows machine. Finally, Named Pipes to establish a two-way channel, this channel provides support for Wi ndows secure communications.
Update : 2025-02-19
Size : 15.99mb
Publisher : 刘宝
DL : 0
本书第一部分讲述的是传统的网络接口N e t B I O S、重定向器以及通过重定向器进行的各类网络通信。尽管本书大部分内容均围绕 Wi n s o c k编程这一主题展开,但是, A P I比起Wi n s o c k
来,仍然具有某些独到之处。其中,第 1章探讨的是N e t B I O S接口,它和Wi n s o c k类似,也是
一种与协议无关的网络A P I。N e t B I O S提供了异步调用,同时兼容于较老的操作系统,如 O S / 2
和D O S等等。第2章讨论了重定向器的问题,它是接下去的两个新主题—邮槽(第3章)和
命名管道(第4章)的基础。重定向器提供了与传输无关的文件输入/输出方式。邮槽是一种
简单的接口,可在Wi n d o w s机器之间实现广播和单向数据通信。最后,命名管道可建立一种双向信道,这种信道提供了对Wi n d o w s安全通信的支持。-The first part of the book tells the story of a traditional network interface N et BIOS, redirector and a variety of network communication conducted via redirector. Although most of the book revolves around the themes Wi nsock programming, however, API compared to Wi nsock years, still has some unique. Which is discussed in Chapter 1, N et BIOS interface, and Wi nsock similar, but also a network protocol independent API. N et BIOS provides asynchronous calls, while compatible with older operating systems such as OS/2 and DOS, and so on. Chapter 2 discusses the redirector problem, it is the next two new themes- Mail Slot (Chapter 3) and named pipes (Chapter 4) foundation. Redirect provides a transport-independent file input/output. The mail slot is a simple interface that enables broadcast and one-way data communication between Wi ndows machines. Finally, the named pipe can create a two-way channel, this channel provides support for Wi ndows secure communication.
Update : 2025-02-19
Size : 9.49mb
Publisher : 周舟
DL : 0
本程序的功能是寻找前k条最短路径,在DOS窗口中先输出了网络节点的拓扑结构,然后输入源节点与目的节点,输出最短路径以及前k条最短路径。-The functionality of the program is to find pre-k shortest paths. First output in the DOS window of the topology of the network node, and then enter the source node and destination node, the output includes pre-k shortest paths and the shortest path.
Update : 2025-02-19
Size : 2kb
Publisher : gefopti
DL : 0
Open source, GPL license.
Written in python (and a bit of C++), supports Linux, Windows, macOS/OSX.
Support of most VASP file formats and .xyz format.
Displays structure, unitcell, supercell, charge/probability/spin density, local potential, forces, velocities, dynamics, measure distances and angles.
Simple structure editor, supports both Cartesian and direct coordinates. Building of supercells and crystal surfaces via cell replication.
Analyze electronic properties, total and local DOS and band structure.
Simulation of STM images (constant current and constant height).
Brillouin zone and K-points visualization.
Inspection of convergence - size of free energy and selected forces along relaxation path.
Phonon properties - dispersion, velocity autocorrelation.
Interactive plots and 3D displays with export to various formats.
Database support.
Update : 2025-02-19
Size : 10.21mb
Publisher : jumpad
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus All Rights Reserved.