#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#define Insert 1 //增加订单
#define Query 2 //查找订单
#define Update 3 //修改订单
#define Delete 4 //删除订单
#define List 5 //列出所有订单
#define Quit 0 //退出系统
FILE *fp;
struct Node
{
......................
阅读全部
|
jack1233333
贴于 2015年5月21日 19:32
hide
bbsi
Dim f As Double
Dim f1 As Double
Dim f2 As Long
Dim e1 As Double
Dim j As Double
Dim sql2 As String
sql2 = "select * from 集中载荷表 where 车型='" & Trim(Combo1.Text) & "'"
rs_find2.CursorLocation = adUseClient
rs_find2.Open sql2, conn, adOpenKeyset, adLockPessimistic
f = Val(Text1.Text)
rs_find2.MoveFirst
Do While Not rs_find2.EOF
......................
阅读全部
|
狂飙的蜗牛1
贴于 2015年5月19日 11:52
hide
bbsi
class Point{
private:
double x, y;
public:
Point(){x=0;y=0;}
Point(double xv, double yv){x=xv; y=yv;}
Point(Point&pt){x=pt.x;y=pt.y;}
double getx(){return x;}
double gety(){return y;}
double Area(){return 0;}
void Show(){cout << "x=" << x << " "<<"y="<<y<<endl;}
};
......................
阅读全部
|
chen初阳
贴于 2015年5月19日 08:48
hide
bbsi
1 #!/bin/bash
2
3 date #显示当前日期
4
5 year=$(date +%Y)
6 a=$(date +%m)
7 b=$(date +%e)
8 #b=8
9 echo "please enter you birthday months:"#输入你的生日的月份
10 read month
11 if [ $month -gt 12 ]
12 then
......................
阅读全部
|
liYX9553
贴于 2015年5月18日 21:01
hide
bbsi
select a.agentcode 工号,
a.name 姓名,
(select codename
from ldcode
where codetype = 'sex'
and code = a.sex) 性别,
(select codename
from ldcode
where codetype = 'degree'
and code = a.degree) 学历,
a.birthday 出生日期,
b.Initgrade 入职职级,
......................
阅读全部
|
魏利宇
贴于 2015年5月13日 13:48
hide
bbsi
z1=80;
z2=80;
z3=60;
for f=1:3
d1=pi/4*2./f;
d2=pi/4*2./f;
d3=pi/3*2./f;
Z0=50;
Z=-j*z3*cot(d3);
Y=1./Z;
Y0=1/z1;
Y1=1/z2;
......................
阅读全部
|
junkman
贴于 2015年5月13日 11:22
hide
bbsi
include<iostream>
#include<stdio.h>
int main()
{ int a,b,c,s1=0,s2=0,s3=0,i,j,k;
cin>>a>>b>>c;
for(i=1;i<=a;i++)
s1=s1+i;
cout<<s1<<endl;
for(j=1;j<=b;j++)
s2=s2+j*j;
cout<<s2<<endl;
for(k=1;k<=c;k++)
......................
阅读全部
|
沉迷
贴于 2015年5月12日 21:11
hide
bbsi
matlab实现变论域模糊控制出错,三个输入,三个输出
function[sys,x0,str,ts]=bly(t,x,u,flag)
switch flag,
case 0
[sys,x0,str,ts]=mdlInitializeSizes;
case 3
sys=mdlOutputs(t,x,u);
case {1,2,4,9}
sys=[];
otherwise
error(['unhandled flag=',num2str(flag)]);
......................
阅读全部
|
jieziloveyou
贴于 2015年5月10日 10:33
hide
bbsi
使用s函数实现变论域模糊控制,以e de n为输入,三个输出,仿真一半时出错
function[sys,x0,str,ts]=bly(t,x,u,flag)
switch flag,
case 0
[sys,x0,str,ts]=mdlInitializeSizes;
case 3
sys=mdlOutputs(t,x,u);
case {1,2,4,9}
sys=[];
otherwise
error(['unhandled flag=',num2str(flag)]);
......................
阅读全部
|
jieziloveyou
贴于 2015年5月10日 10:22
hide
bbsi