- 博客(10)
- 资源 (8)
- 收藏
- 关注
原创 B/S和c/s结构模式有什么区别
一、什么是C/S和B/S要想对“C/S”和“B/S”技术发展变化有所了解,首先必须搞清楚三个问题。第一、什么是C/S结构。C/S(Client/Server)结构,即大家熟知的客户机和服务器结构。它是软件系统体系结构,通过它可以充分利用两端硬件环境的优势,将任务合理分配到Client端和Server端来实现,降低了系统的通讯开销。目前大多数应用软件系统都是Client/Server形式
2012-07-26 15:59:08 2892 1
原创 C++经典求根的方法,弦切法或弦截法
<br />// 弦切法求根.cpp : 定义控制台应用程序的入口点。<br />//<br />#include "stdafx.h"<br />#include<iostream><br />#include<cmath><br />using namespace std;<br />double f(double x)<br />{<br /> double y;<br /> //y = x*x*x - 5*x*x + 16*x -80;<br /> y = x*x*x + x*x - 4;<br /
2010-11-18 14:38:00 2841
原创 列主元高斯消元法
<br />#include <stdio.h><br />#include <stdlib.h><br />#include <math.h><br />#define N 4<br />#define EPS 1e-10<br />void main()<br />{<br /> int A[N][N+1]={{5,2,3,2,-1},{2,4,1,-2,5},{1,-3,4,3,4},{3,2,2,8,-6}},x[N];<br /> int i,j,k,Pr,t,total;<br />
2010-11-18 14:36:00 611
原创 Kruskal算法
#include "stdio.h"#include "malloc.h"#define maxium 32767#define maxver 9 /*defines the max number of vertexs which the programm can handle*/#define OK 1struct Point{ char vertex[3]; struct Link *work; struct Point *next;};struct Link{
2010-11-14 09:44:00 405
原创 Dijkstra算法
#include "stdio.h"#include "malloc.h"#define maxium 32767#define maxver 9 /*defines the max number of vertexs which the programm can handle*/#define OK 1struct Point{ char vertex[3]; struct Link *work; struct Point *next;};struct Link{
2010-11-14 09:34:00 337
原创 Prim算法。
/* Prim.c Copyright (c) 2002, 2006 by ctu_85 All Rights Reserved.*//* The impact of the situation of articulation point exists can be omitted in Prim algorithm but not in Kruskal algorithm */#include "stdio.h"#define max
2010-11-14 09:21:00 283
原创 哈夫曼编码算法
用C写的哈弗曼编码算法 ,经过严格测试。希望对大家有所帮助。#include #include#include#define MAXLEN 100 typedef struct Huffmantree { char ch; /*键值*/ int weight,mark; /*weight为权值,mark为标志域*/ struct Huffmantree *parent,*lchild,*rchild,*next; }Hftree,*linktree; /*整理输入的字符串,合并相同的项,并求出每个字符在数组
2010-11-14 08:40:00 879
原创 高斯消元法
<br />高斯消去法C语言程序<br /> XYYZ 2006年4月9日<br /><br />#include <stdio.h><br />#include <math.h><br />#define N 4<br />void main()<br />{<br />int k,i,j,ii=0,jj=0,z[N],tt;<br />double a[N][N],b[N],sum,x[N],y[N],sp,t;<br />printf("请输入原始增广矩阵(按行输入):/n");<br />for
2010-11-01 16:30:00 264
原创 大学中学会成长
一、男生 1.太多大学男生选择女朋友的标准就是漂亮。至少也是漂亮第一,但是真正找到一个漂亮的女生并且幸福生活的有几个。漂亮的女生不是你们消费得起的。请原谅我的直白。当然如果你有个有钱的老爸就不在此列。因为这年头,美女是市场化的。 2.追女生从来都是件简单的事情。如果你觉得你追得很艰难,多半是你追错人了。如果一个女生,你费尽力气才追上,那么还不如费尽力气也追不上。因为,这样艰辛才拥有一
2010-05-13 13:06:00 493 1
原创 事业是男人的姿色
My Blog:http://haiou135.blog.163.com男人自然也是有姿色之说的,美男子与丑八怪就是两个极端,多数人则姿色平平。男人的姿色,半是父母所赐,半是自己挣来的。放眼看去,那些事业成功的男人,无不神采飞扬,气宇轩昂,脸上充满自信,嘴角带着微笑,因为那姿色是来自内心的。从外观看,他也可能会其貌不扬,可能会五官不整,但是成功的事业会让他变得满面春风,笑意盎然。 而没有事业
2010-05-13 12:52:00 329
C++经典求根的方法,弦切法或弦截法
2010-11-18
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人