搜索资源列表
programmer1
- 在MCS51上实现计算器的功能模块 (完成加减乘除正余弦开方正余切E的幂和对数等的运算,使用了Cx51标准库函数中math.h)
词法分析程序
- /*** *****词法分析程序*** *****/ # include<iostream.h> # include<fstream.h> # include<math.h> int cc=0 -/*** ***** lexical analysis procedure *** *****/ # includelt; Iostream.hgt; # Includelt; Fstream.hgt; # Includelt; Math.hgt; Int cc =
cifafenxiqi
- /*** *****词法分析程序*** *****/ # include<iostream.h> # include<fstream.h> # include<math.h> int cc=0 -/*** ***** lexical analysis procedure *** *****/ # includelt; Iostream.hgt; # Includelt; Fstream.hgt; # Includelt; Math.hgt; Int cc =
白噪声随机数的产生
- #include<stdio.h> #include<stdlib.h> #include<math.h> #define E 6 #define D 1 double N() { double n=0;int i; for(i=0;i<12;i++) n+=(double)rand()/RAND_MAX; n=(n-E)/sqrt(D); return n; } void main() {
yy.rar
- 求用分支限界算法解决旅行商问题的源程序,#include <stdio.h> #include <stdlib.h> #include <math.h> #define TRUE (1) #define FALSE (0) #define MAX_CITIES (10) #define INFINITY (999) #define I INFINITY ,Seeking with branch and bound algorithm t
calculator3.rar
- 应用数码管7279和8051写的计算器程序,可以计算简单的四则运算和求余,加入math.h后可以计算更加复杂的运算,7279 and the use of digital control computer program written in 8051, can calculate a simple arithmetic and demand, the math.h can be calculated by adding more complex computing
BP
- BP神经网络程序,C语言源代码 如下: #include "iostream.h" #include "iomanip.h" #include "stdlib.h" #include "math.h" #include "stdio.h" #include "time.h" #include "fstream.h" #define N 120 //学习样本个数 #define IN 3 //输入层神经元数目 #define HN 2 //隐层神经元数目
pic_ccs
- TI公司的CCS一些常用的函数库 ,比较好的资料,里面有一些程序比较基本,对于初学者规范程序编写,理论用于实践,有一定参考价值-TI' s CCS library of some commonly used, relatively good information, there are some basic procedures, procedures for the preparation of norms for the beginners, theory for practice,
Hough_LineDetect_opencv
- OPENCV中Hough轉換用於直線偵測之源代碼-Hough transform for line detection in OpenCV
b
- /*** *****词法分析程序*** *****/ # include<iostream.h> # include<fstream.h> # include<math.h> int cc=0 -/******** lexical analysis procedure********/# includelt; Iostream.hgt;# Includelt; Fstream.hgt;# Includelt; Math.hgt; Int cc = 0
c
- /*** *****词法分析程序*** *****/ # include<iostream.h> # include<fstream.h> # include<math.h> int cc=0 -/******** lexical analysis procedure********/# includelt; Iostream.hgt;# Includelt; Fstream.hgt;# Includelt; Math.hgt; Int cc = 0
cdef
- /*** *****词法分析程序*** *****/ # include<iostream.h> # include<fstream.h> # include<math.h> int cc=0 -/******** lexical analysis procedure********/# includelt; Iostream.hgt;# Includelt; Fstream.hgt;# Includelt; Math.hgt; Int cc = 0
para_to_ulong
- 做项目时候编的小程序,将二、八、十六进制字符串(以#b、#q、#h开头,不区分大小写)转换成无符号长整型数,在使用时,需包含(string.h,math.h等C标准函数库头文件),并做适当修改。-When do the project made a small program will be the second, eight, hexadecimal string (to# B,# Q,# H at the beginning, not case-sensitive) converted to
chaoshiguanli
- #include<stdlib.h> #include "dos.h" #include "graphics.h" #include "math.h" #define PI 3.1415926 #define NULL 0 #include<stdio.h> #include<string.h> -# Include <stdlib.h># Include dos.h# Include graphics.h# I
C51
- /*这是我用C语言编的第一个程序,编译通过,下载到单片机里能够正常运行,我非常高兴,对我来说有纪念价值*/ -#include <reg51f.h> #include <intrins.h> #include <math.h> sbit P2_0=P2^0 bit FLAG=0 char m,ptr=0 static const char tab[16]={0x01,0x02,0x03,0x0c,
math
- 同一坐标系统下坐标有多种不同的表现形 式,一种形式实际上就是一种坐标系。如空间直 角坐标系( , , )、大地坐标系( , )、 平面直角坐标( , )等。通过坐标统的转换我 们得到了BJ54坐标系统下的空间直角坐标,我们 还须在BJ54坐标系统下再进行各种坐标系的转 换,直至得到工程所需的坐标。 1)将空间直角坐标系转换成大地坐标系,得-Sub btnCal_OnClick dim SpaceForm dim X, Y, Z, B, L, H, Elli,
calculator_final
- 不包括math.h文件,用定点数方式实现计算机功能。MFC界面。-Math.h does not include documents, points will be achieved with computer functions. MFC interface.
clock
- 1. 首先建立一个基本对话的exe工程,并命名为time; 2. 在BOOL CTimeDlg::OnInitDialog()函数内建立一个计时器,SetTimer(1,1000,NULL) 3. 再用classwizard建立消息响应函数void CTimeDlg::OnTimer(UINT nIDEvent),在里面输入代码如下:Invalidate() 4. 再用classwizard建立消息响应函数void CTimeDlg::OnDestroy(),在里面输入代码如下:
TDDOWNLOAD
- #include <stdio.h> #include <math.h> #include <stdlib.h> #include <float.h> unsigned __int64 mulmod(unsigned __int64 a, unsigned __int64 b, unsigned __int64 m) { static const double _2_64 = 18446744073709551616
AD-PIC16F72
- /这是一个两路交流信号的AD转换,然后和标准比较决定输出大于标准的那一路,默认输出A路 #include <pic.h> #include <math.h> #include <stdio.h> bank1 int re0[40] //定义存放A/D转换结果的数组,在bank0中 bank1 int re1[40] //定义存放A/D转换结果的数组,在bank1中-/ This is a two way exchange of