摘要: Visual Studio.NET 提供了四种版本:专业版、企业级开发版、企业级结构设计版和学院版。Visual Studio 包括的核心语言:Visual Basic、Visual C++、Visual C# 和 Visual J#。 阅读全文
posted @ 2006-02-09 17:35 陕北蜂农 阅读(162) 评论(0) 推荐(0) 编辑
摘要: //面向对象上机题//Date:2005/10/27#include "iomanip.h"void main(){int Map[8]={1,3,5,7,5,3,1}; int N[8]={11,9,7,5,7,9,11};for(int y=0;y<7;y++){cout<<setw(N[y]);for(int i=0;i<Map[y];i++)cout<<"*"<<" ";cout<<endl;}} 阅读全文
posted @ 2006-02-09 17:32 陕北蜂农 阅读(98) 评论(0) 推荐(0) 编辑
摘要: //面向对象上机题 二//迭归算法//Date:2005/10/27//Make By:张建波#include "iostream.h"#include "string.h"void fs(char *s,int n=0){int L=strlen(s);if(n!=L){n++;cout<<s[L-n]; fs(s,n);}}void main(){char *s="abcdefgh";cout<<"/n原字符串为:"<<s<<endl;cout<<&q 阅读全文
posted @ 2006-02-09 17:31 陕北蜂农 阅读(125) 评论(0) 推荐(0) 编辑
摘要: //面向对象上机 作业一//Date:2005/10/27//Make By:张建波#include "iostream.h"#include "string.h"void main(){char *name[]={"Smith","John","Mary","Havard","kai"};int score[]={80,72,89,66,96};char fname[10]; //待查询的姓名do{ cout<<"/n请输入要查询的 阅读全文
posted @ 2006-02-09 17:30 陕北蜂农 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 自我职业生涯规划表 我是一个感情丰富的人,我热爱生活、热爱大自然、热爱工作。我的人生应该是不平常的。我从来不为自己制定目标、制定计划。因为我不是一个循规蹈矩的人。我时刻在改变我自己的计划,也许今天我还是xx公司的职员,明天我就又成了xx 企业的经理。。。。。。人的一生是短暂的,我喜欢走自己的道路,作自己想做的事。我为人开朗乐于交友,愿意和身边的任何人合作。我爱工作,如果需要,我可以24小时工作。我是学计算机的,7岁时,我的理想是科学家、13岁时我的理想是做大老板,21岁今天的我,希望明天有一家自己的软件公司。我擅长于搞技术,因此我对金钱看得不是很重,但也不轻,至少衣食住行可以坚决!目前计算机已 阅读全文
posted @ 2006-02-09 16:28 陕北蜂农 阅读(219) 评论(0) 推荐(0) 编辑
摘要: #include <iostream.h>#include <stdio.h>#include <stdlib.h>#include "_fx_main.h"void IntKey(){ //键盘中断函数 cout<<"任意键返回!"<<endl; int key=getchar(); //任意键返回 }void f1(){ //运动会分数统计 system("cls"); //调用Shell命令,清屏 //在此添加代码 _f1_main(); //~ IntKey(); / 阅读全文
posted @ 2006-02-09 16:24 陕北蜂农 阅读(211) 评论(0) 推荐(0) 编辑
摘要: //#include "stdx.h"#include "Menu.h"#include "fx.h"#include <stdlib.h>#include <iostream.h>int main(){ Menu MainMenu[11]; //主菜单 MainMenu[1].Name="运动会分数统计"; //菜单项赋值 MainMenu[2].Name="一元多项式计算"; MainMenu[3].Name="二叉树的遍历"; MainMenu[ 阅读全文
posted @ 2006-02-09 16:24 陕北蜂农 阅读(260) 评论(0) 推荐(0) 编辑
摘要: //运动会分数统计 //////////时间:2005-7-4//程序: 张建波#include <iostream.h>#include <string.h>#include "menu.h"#include "Key.h"typedef struct xm_table{ int item;// 项目编号 char name[20]; int count; //该项目得分人的数量}XM_TABLE;struct STUDENT{ char name[20]; //姓名 int score; //得分成绩 int range; / 阅读全文
posted @ 2006-02-09 16:23 陕北蜂农 阅读(591) 评论(0) 推荐(0) 编辑
摘要: //文章编辑//时间: 2005-7-6//程序:张建波#include <iostream.h>#include <string.h>#include <stdio.h>#include "Menu.h"#include "key.h"#include <stdlib.h>typedef struct line{ //char data[80]; char *data; //字符串指针需要时 动态分配内存 struct line *next;}LINE;void CreateTXT(LINE * & 阅读全文
posted @ 2006-02-09 16:22 陕北蜂农 阅读(284) 评论(0) 推荐(0) 编辑
摘要: //一元多项式加减程序//程序:张建波//时间:2005/7/12 PM:20-08//功能:// 1:可以计算 1+2+3-1+2-5+6+3 (加减法均可)// 2: 可以计算 2x+3x+5x-x^2+x^3+4x^7+9// 3: 可以进行组合计算 A=1+2+x+x^2 B=x+x^2 A+B=3+2x+2x^2//注意:除指数不能为 负!!其余都可以输入负数#include <iostream.h>#include <string.h>#include <math.h>#include "Menu.h"#include &qu 阅读全文
posted @ 2006-02-09 16:22 陕北蜂农 阅读(411) 评论(0) 推荐(0) 编辑
摘要: 一堆猴子都有编号,编号是1,2,3 ...m ,这群猴子(m个)按照1-m的顺序围坐一圈,从第1开始数,每数到第N个,该猴子就要离开此圈,这样依次下来,直到圈中只剩下最后一只猴子,则该猴子为大王。要求:输入数据:输入m,n ,m,n 为整数,n<m输出形式:提示按照m个猴子,数n 个数的方法,输出为大王的猴子是几号 ,建立一个函数来实现此功能。//猴子选王//程序:张建波//时间:05/07/05#include <iostream.h>typedef struct Node{ int data; struct Node *next;}NODE;int _f6_main() 阅读全文
posted @ 2006-02-09 16:21 陕北蜂农 阅读(228) 评论(0) 推荐(0) 编辑
摘要: //排序//程序:张建波//时间:05/07/10 Am 2:50#include <iostream.h>#include <stdlib.h>#include "menu.h"#include "key.h"int RandomNum(int *RandArray,int N); //随机生成数据void OutPutNum(int *p,int N); //输出测试数据void BubbleSort(int *p,int N,int SortType); //冒泡排序void InsertSort(int *p,int N, 阅读全文
posted @ 2006-02-09 16:20 陕北蜂农 阅读(168) 评论(0) 推荐(0) 编辑
摘要: //翻牌游戏//程序:张建波//时间:2005/07/06#include <iostream.h>#include <iomanip.h>void load_pai(); //向数组中写入 牌 序列void Show_Pai(); //向屏幕打印 牌void f_pai(); //翻牌void Show_FP_Pai(int i); //向屏幕输出中间翻牌的过程 状态int pai[53]; // 牌 int _f7_main(){ //函数入口,通过主函数调用 load_pai(); //加载牌序号 f_pai(); //开始翻牌 Show_Pai(); //向屏幕 阅读全文
posted @ 2006-02-09 16:19 陕北蜂农 阅读(205) 评论(0) 推荐(0) 编辑
摘要: //二叉树//时间: 05/07/08//程序: 张建波//功能:输入二叉树,完成前序、中序、后序、层序遍历#include <iostream.h>#include "Menu.h"#include "key.h"struct tree { int data; // 节点数据 struct tree *left; // 左子树 struct tree *right; // 右子树};struct MT{ int data[100]; //保存每层元素 int n; //每层元素的个数}; //层序遍历保存二叉树的结点struct MT mt 阅读全文
posted @ 2006-02-09 16:18 陕北蜂农 阅读(258) 评论(0) 推荐(0) 编辑
摘要: ////joseph环//时间:05/07/04//程序:张建波//输入 n=7 // 3,1,7,2,4,7,4 //输出6 7 4 1 5 3 2#include <iostream.h>#include "key.h"typedef struct person{ int pwd; //密码 int num; //人数 struct person *next; //指向结构体的指针}PERSON; void OutPut(int *a,int n);//输出结果int CreatPersonList(PERSON *head);// 创建一张链表int Fx 阅读全文
posted @ 2006-02-09 16:16 陕北蜂农 阅读(358) 评论(0) 推荐(0) 编辑
摘要: % newton.m%x=newton(inline('x^3-2*x-5'),inline('3*x^2-2'),0.5,100,1e-6)%function [y,z]=newton(fv,df,x0,n,tol)function [y]=newton(fv,df,x0,tol)x(1)=x0; b=1; k=1;while or(k==1,abs(b)>tol*abs(x(k))) x(k+1)=x(k)-feval(fv,x(k))/feval(df,x(k)); b=x(k+1)-x(k); k=k+1; %if(k>n) % error( 阅读全文
posted @ 2006-02-09 16:14 陕北蜂农 阅读(232) 评论(0) 推荐(0) 编辑
摘要: %Xi=[1,3,4,5,6,7,8];%Yi=[10,5,4,2,1,1,2];Xi=[-2,-1,0,1,2];Yi=[0,1,2,1,0];N=size(Xi);i=N([2]); %组数%y=φ(x)=a0+a1x+a2X^2for j=1:1:i %计算矛盾方程组 A(j,1)=1; A(j,2)=Xi([j]); A(j,3)=(Xi([j]))^2; X(j,1)=0; B(j,1)=Yi([j]);enda=A/B; %求解a' 阅读全文
posted @ 2006-02-09 16:12 陕北蜂农 阅读(281) 评论(0) 推荐(0) 编辑
摘要: //程序:张建波#include "iostream.h"double N[3][4]={ {0.0001,0.5402,0.3425,0.8828}, {1.235,2.567,0.9750,4.777}, {1.024,2.001,4.555,7.580}};void PRINT(){ //输出矩阵 cout<<"/n----------------------------------/n"; for(int i=0;i<3;i++) { for(int k=0;k<4;k++) {cout<<N[i][k]< 阅读全文
posted @ 2006-02-09 16:11 陕北蜂农 阅读(257) 评论(0) 推荐(0) 编辑
摘要: %计算方法书上p62 例3.5%赛德尔迭代%程序:张建波%2005-11-18 PM23:00a=[10 -2 -1;-2 10 -1;-1 -2 5;-1 -2 5];b=[3 15 10];x=[0;0;0];N=3;%N 是解得个数,X1,X2,X3es=0.0001; %精度控制while(0<1) es0=0; %开始迭代 for i=1:N s=x(i); x(i)=0; x(i)=(b(i)-a(i,:)*x)/a(i,i); es0=max(abs(s-x(i)),es0); end x if es0<es break; end end 阅读全文
posted @ 2006-02-09 16:10 陕北蜂农 阅读(176) 评论(0) 推荐(0) 编辑
摘要: cleara=input('a=');b=input('b=');e=input('c=');c=(a+b)/2n=log2((b-a)/e)-1if f(a)*f(b)>0 Solution='May be No Solution'else if f(c)==0 Solution=c else for i=1:1:n c=(a+b)/2 if f(c)<0 a=c else b=c end end Solution=c endend 阅读全文
posted @ 2006-02-09 16:09 陕北蜂农 阅读(512) 评论(0) 推荐(0) 编辑