-
openGL
基于vs2013的OpenGL,实现对OBJ格式文件的读取以及显示,并可以通过按键盘上的“+”“-”快速的放大缩小当前图像。通过按“o”键可以打开所需要打开的文件。
- 2022-03-21 08:31:56下载
- 积分:1
-
五子棋
所谓操作系统的移植,是指使一个实时操作系统能够在某个特定的微处理器平台上运行。
mCOS-II的主要代码都是由标准的C语言写成的,移植方便。但仍需要用汇编语言写一些与处理器相关的代码,这是因为µC/OS-Ⅱ在读写处理器寄存器时只能通过汇编语言来实现。
移植的主要工作是修改部分与处理器硬件相关的代码。
处理器需要满足的条件
处理器的C编译器能产生可重入代码。
在程序中可以打开或者关闭中断。
处理器支持中断,并且能产生定时中断(通常在10-100Hz之间)。
处理器支持能够容纳一定量数据的硬件堆栈(可能达几KB)
处理器有将堆栈指针和其他CPU寄存器存储和读出到堆栈(或者内存)的指令
了解处理器的特点
- 2022-07-02 00:54:15下载
- 积分:1
-
12864点阵液晶,
12864点阵液晶,-12864点阵液晶,
- 2023-04-22 03:45:03下载
- 积分:1
-
greedy
集装箱的装箱问题:
*给定一个集装箱,其长为L,宽为W和高为H,现有一批圆柱形木材,每根木材
*的长均为L,但是半径不同,设第i根木材半径为ri。问如何装箱,使得集装
*箱的空间利用率最高?使用贪心算法解决。
*编译方法:打开cpp文件,在编译的同时建立工程,打开 "settings->link"
*在link项的Object/library modules:中加入Opengl32.lib glu32.lib glaux.lib(Container packing problem: given a container, and its length L, width W and height H, the current batch of cylindrical timber, each timber* long are L, but the radius is different for the first i-kan timber radius ri. Asked how the packing, making me be assembled in* the maximum utilization of space? Use greedy algorithm to solve.* Compiler Methods: Open cpp file, compiled at the same time in the establishment of the project, open the settings-)
- 2007-10-14 22:08:37下载
- 积分:1
-
fadeController
fade in and fade out of ui controller in iphone os
- 2010-07-18 11:18:14下载
- 积分:1
-
C#入门,委托实例
委托是一类继承自System.Delegate的类型,每个委托对象至少包含一个指向某个方法的指针,该方法可以是实例方法,也可以是静态方法。委托实现了回调方法的机制。
- 2014-04-01下载
- 积分:1
-
数据库连接
本资源为连接数据库的基本操作,
private void button3_Click(object sender, EventArgs e)
{
string user = textBox1.Text;
string pwd = textBox2.Text;
string code = textBox3.Text;
//创建数据库连接类的对象
SqlConnection con = new SqlConnection("server=FSMOOTH-PC;database=zxl;user=sa;pwd=fsmooth19841019");
con.Open();
//执行con对象的函数,返回一个SqlCommand类型的对象
SqlCommand cmd = con.CreateCommand();
//拼写语句
cmd.CommandText = "update users set name="" + user + "",pwd="" + pwd + "" where code="
- 2022-06-18 15:04:01下载
- 积分:1
-
fghfgh
很小的课程设计,是关于c的 图书信息管理系统(Small curriculum design, c books on information management system)
- 2010-06-30 10:34:26下载
- 积分:1
-
MyBank
说明: 操作系统银行家算法,C#编写,比较漂亮,有用!(OS Banker' s algorithm, C# prepared, more beautiful, works!)
- 2010-05-04 17:32:17下载
- 积分:1
-
MSP430单片机比较器A模块的使用基本程序
MSP430单片机比较器A模块的使用基本程序-A single-chip MSP430 comparator module to use the basic procedures
- 2022-05-07 12:40:11下载
- 积分:1