LONG
共 257 篇文章
LONG 相关的电子技术资料,包括技术文档、应用笔记、电路设计、代码示例等,共 257 篇文章,持续更新中。
数据结构课程设计 描述如下: 现有一个大小为Map_Long * Map_Width的方格地图(每一方格尺寸为BoxSize * BoxSize)
数据结构课程设计
描述如下:
现有一个大小为Map_Long * Map_Width的方格地图(每一方格尺寸为BoxSize * BoxSize),在地图中间处有一个长度为3*3方格的小蛇。一旦游戏开始后:地图上随机位置处生成一只大老鼠(占一个方格);小蛇自动朝着一个方向运动,并且用户可以通过按:上、下、左、右键改变小蛇的运动方向。当小蛇吃到大老鼠,即蛇运动到它的蛇头所在坐标等于老鼠所在坐标时
编程题(15_01.c) 结构 struct student { long num char name[20] int score struct student *
编程题(15_01.c)
结构
struct student
{
long num
char name[20]
int score
struct student *next
}
链表练习:
(1).编写函数struct student * creat(int n),创建一个按学号升序排列的新链表,每个链表中的结点中
的学号、成绩由键盘输入,
LC72130+1823程序 void out(uchar dat) ulong in_data(void) void out_data(uchar dat1,uchar dat2,ucha
LC72130+1823程序
void out(uchar dat)
ulong in_data(void)
void out_data(uchar dat1,uchar dat2,uchar dat3,uchar dat4)
void display_tunner(unsigned long dat)
void tunner_init(void)
void display_
这是我编写的一个用于处理大数的very_long_int 类!
这是我编写的一个用于处理大数的very_long_int 类!
红外解码程序
/*<br />
* _168ZHONGDUAN2.c<br />
*<br />
* Created: 2014/11/2 15:12:45<br />
* Author: lenovo<br />
*/ <br />
<br />
<br />
#include <avr/io.h><br />
#i
Traveling Salesman Problem (TSP) has been an interesting problem for a long time in classical optim
Traveling Salesman Problem (TSP) has been an interesting problem for a long
time in classical optimization techniques which are based on linear and nonlinear
programming. TSP can be described as fol
2.0.12 (May 13th, 2004) - Flag driver threads with PF_FREEZE to support software suspend. 2.0.
2.0.12 (May 13th, 2004)
- Flag driver threads with PF_FREEZE to support software suspend.
2.0.11 (May 7th, 2004)
- Avoid split-completion bugs in certain PCI-X chipsets by
breaking up large
a small program by Yuval Fisher that has gone a long way to revealing some of the secrets of fracal
a small program by Yuval Fisher that has gone a long way to revealing some of the secrets of fracal image compression.
一个简单的C程序
<p>
求a^b的后四位,a,b可为long long 型整数
</p>
#include<iostream> using namespace std int main() { unsigned long x,warcraft,war,l
#include<iostream>
using namespace std
int main()
{
unsigned long x,warcraft,war,l
cin> x
while(x)
{
unsigned long *p=new unsigned long[x+1]
if(p==NULL)
{
cerr&l
实现int或long int类型数据向time类型数据转化
实现int或long int类型数据向time类型数据转化,比如说,int i=258147369, 它将转化为x小时y分z秒。
编写如下方法:求一个长整数的各位数之和:public static int qiuhe(long s) 找10~100之间能被3或5整除的数
编写如下方法:求一个长整数的各位数之和:public static int qiuhe(long s)
找10~100之间能被3或5整除的数,每行输出5个数。
编码方式的解码示范uuencode and uudecode are in the public domain. dos2unix and unix2dos are hereby placed in
编码方式的解码示范uuencode and uudecode are in the public domain. dos2unix and
unix2dos are hereby placed in the public domain. They may be shared
or copied as long as NO fee is charged for their distributio
%CHECKBOUNDS Move the initial point within the (valid) bounds. % [X,LB,UB,X,FLAG] = CHECKBOUNDS(X0,
%CHECKBOUNDS Move the initial point within the (valid) bounds.
% [X,LB,UB,X,FLAG] = CHECKBOUNDS(X0,LB,UB,nvars)
% checks that the upper and lower
% bounds are valid (LB <= UB) and the same leng
In this first-ever paperback edition of his long-time best-seller, motivational speaker Steve Chandl
In this first-ever paperback edition of his long-time best-seller, motivational speaker Steve Chandler helps you create an action plan for living your vision in business and in life. It features 100 p
This paper presents several low-latency mixed-timing FIFO (first-in–first-out) interfaces designs t
This paper presents several low-latency mixed-timing
FIFO (first-in–first-out) interfaces designs that interface systems
on a chip working at different speeds. The connected systems
can be either s
Visual Basic 6.0可以通过调用API函数格式化一个磁盘
Visual Basic 6.0可以通过调用API函数格式化一个磁盘,无论是软盘还是硬盘。
打开一个新的项目(工程1) ,如果你没有更改过缺省模式,那么Visual Basic 6.0会自动添加一个form1文件,在form1上添加一个命令控件,将下面的代码拷入。
Option Explicit
Private Declare Function SHFormatDrive
long bei ge suan fa 龙算法
long bei ge suan fa 龙算法
求一个较大数的阶乘!例如100!将超过long的表示范围
求一个较大数的阶乘!例如100!将超过long的表示范围,本程序将告诉你一种简单而有效的方法。
函数模板T max(T a, T b, T c),使之实现对任何类型数
函数模板T max(T a, T b, T c),使之实现对任何类型数,能从三个数中求出最大数返回。设计各种类型数据(char,short,long,float,double)调用此函数模板。