搜索结果
找到约 254 项符合
long-Term 的查询结果
单片机开发 用于51单片机的高精度数学运算子程序
用于51单片机的高精度数学运算子程序,因为C51里面,能表示的最大数据是long 型,只有4个字节,放在word文档中
汇编语言 编写一个程序
编写一个程序,输出基本数据类型char, short, int, long, float, double和指针类型void *, char *, short *, int *, long *, float *, double *的数据类型的长度。
软件设计/软件工程 When C++ was first introduced many benefits such as code reuse, portability and scalability were pro
When C++ was first introduced many benefits such as code reuse, portability and scalability were promised, but somehow these benefits failed to eventuate. It didn’t take too long before most people in the embedded world decided that the promises were just hype, and settled down to using C++ as a sl ...
其他书籍 It’s your first day in the lab.Undoubtedly you are experiencing a range of emotions: excitement, cu
It’s your first day in the lab.Undoubtedly you are experiencing a range
of emotions: excitement, curiosity, anxiety. You will be working in
this lab and with a group of people, as well as with your supervisor,
for several years to come. This is the first day of a long commitment
and, for some, a ha ...
其他书籍 Finally, after a great deal of effort and hard work, you have obtained the results you were trying
Finally, after a great deal of effort and hard work, you have obtained
the results you were trying to get for such a long time. You may be
so busy (and tired) that you don’t even realize that you have indeed
achieved a certain measure of success. Perhaps it will take a fewmore
months before you can ...
matlab例程 蚁群算法程序
Ø 出动m只蚂蚁,每只蚂蚁各随机选择一条路径,记为I=[1 2 3···m],长度记为long(I);
Ø 计算出每条路径的信息素浓度,记为P(I)=1/long(I),并进行归一化处理;
Ø 重新出动m只蚂蚁,按如下规则选择路径:
l 每只蚂蚁都以一个概率p1选择新路径(路径随机);
l 未选择新 ...
C/C++语言编程 toj 4022源代码
#include <iostream>
using namespace std;
int main(){
int t;
cin>>t;
while(t--){
long long n;
cin>>n;
if(n%2==1)
cout<<(n*n-1)/4<<endl;
else if (n%4==0)
cout <<(n*n)/4-1<<endl;
else{
if(n==2)
cout<<1<<endl;
else{
long long k=n/2-1;
cout <<k*k+2*k-3<<endl;
}
...
技术书籍 c语言深度剖析
第一章关键字...................................................................................................................................9
1.1,最宽恒大量的关键字----auto..........................................................................................11
1.2,最快的关键字---- register. ...
单片机编程 红外解码程序
/*
&nbsp;* _168ZHONGDUAN2.c
&nbsp;*
&nbsp;* Created: 2014/11/2 15:12:45
&nbsp;* &nbsp;Author: lenovo
&nbsp;*/&nbsp;
#include <avr/io.h>
#include <avr/iom168pa.h>
#include <avr/interrupt.h>
#include <util/delay.h>
#include <avr/eeprom.h>
//#include <util/delay_basic.h>
//unsigned char const SEGtabl ...