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
#ifndef VECTOR_H
#define VECTOR_H
#include <iostream>
using namespace std;
class Vector{
int length ;
int *arr;
public:
Vector(int len);
~ Vector();
void Print();
void Add(int value);
......................
阅读全部
|
冷热sx
贴于 2015年5月8日 20:25
hide
bbsi
/*专家滚动开始*/
.rollBox img{border:none;}
.rollBox{width:1004px;overflow:hidden;margin:0 auto;height:145px; }
.rollBox .Cont{width:929px;overflow:hidden;margin:0 auto;}
.rollBox .ScrCont{width:100000000px;}
.rollBox .Cont .pic{width:80px;float:left;text-align:center;padding:0 9px;}
*+html .rollBox .Cont .pic{width:80px;float:left;text-align:center;padding:0 9px;}
.rollBox .Cont .pic img{padding:2px;background:#fff;border:1px solid #ccc;display:block;margin:0 auto; }
.rollBox .Cont .pic a:hover img{-moz-opacity:0.86;}
.rollBox .Cont .pic p{line-height:26px;color:#505050;}
.rollBox .Cont a:link,.rollBox .Cont a:visited{color:#626466;text-decoration:none;}
.rollBox .Cont a:hover{color:#f00;text-decoration:underline;}
......................
阅读全部
|
malu5527
贴于 2015年5月8日 17:00
hide
bbsi