<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[smuhm的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/smuhm</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; smuhm]]></copyright><item><title><![CDATA[Java Web log4j (日志)]]></title><link>https://blog.youkuaiyun.com/smuhm/article/details/75047232</link><guid>https://blog.youkuaiyun.com/smuhm/article/details/75047232</guid><author>smuhm</author><pubDate>Thu, 13 Jul 2017 11:11:00 +0800</pubDate><description><![CDATA[为什么要使用日志？

　　开发阶段：　

　　　　发现程序的问题，排错

　　产品阶段：

　　　　记录程序运行状态

System.out.println()的局限性

　　不能在运行时打开或者关闭

　　不能选择包或者类，在运行的的时候打开或者关闭

　　输出的信息没有分级

　　只能输出文本信息

　　不能改变输出的位置

Log4j可以解决以上的]]></description><category></category></item><item><title><![CDATA[问题解决： Attribute value request.getParameter("id") is quoted with " which must be escaped when used wi]]></title><link>https://blog.youkuaiyun.com/smuhm/article/details/38678065</link><guid>https://blog.youkuaiyun.com/smuhm/article/details/38678065</guid><author>smuhm</author><pubDate>Tue, 19 Aug 2014 10:18:20 +0800</pubDate><description><![CDATA[﻿﻿











 今天改了个页面，很简单的内容，往jsp主机上部署时候报个异常：
Attribute value request.getParameter("id")  is quoted with " which must be escaped when used within the value...
Google出来了解决办法：
“将value后面的]]></description><category></category></item><item><title><![CDATA[怎样在myeclipse中添加框架如structs2]]></title><link>https://blog.youkuaiyun.com/smuhm/article/details/25366649</link><guid>https://blog.youkuaiyun.com/smuhm/article/details/25366649</guid><author>smuhm</author><pubDate>Fri, 09 May 2014 09:39:32 +0800</pubDate><description><![CDATA[windows->preferences->java->build path->user libraies
new 
add external jars






选择工程 右键 Build Path ->Add Library ->User Library ->Next->选中要添加的]]></description><category></category></item><item><title><![CDATA[怎样给Myeclipse配置tomcat服务器]]></title><link>https://blog.youkuaiyun.com/smuhm/article/details/25366401</link><guid>https://blog.youkuaiyun.com/smuhm/article/details/25366401</guid><author>smuhm</author><pubDate>Fri, 09 May 2014 09:26:28 +0800</pubDate><description><![CDATA[﻿﻿
工具/原料




Myeclipse8.5 tomcat6.x




步骤/方法




1

首先我们打开Myeclipse，进入偏好设置window-perference:如下图所示:


步骤阅读



2

进入偏好设置（perference），在偏好设置的搜索栏那里输入tomcat查找tomcat.如下图所示:


步]]></description><category></category></item><item><title><![CDATA[MYSQL服务错误1067进程意外终止]]></title><link>https://blog.youkuaiyun.com/smuhm/article/details/25366151</link><guid>https://blog.youkuaiyun.com/smuhm/article/details/25366151</guid><author>smuhm</author><pubDate>Fri, 09 May 2014 09:22:46 +0800</pubDate><description><![CDATA[﻿﻿
在本地计算机无法启动MYSQL服务错误1067进程意外终止 这种情况一般是my.ini文件配置出错了
 
首先找到这个文件： 默认安装路径
C:/Program Files/MySQL/MySQL Server 5.1/my.ini
 
打开此文件找到：default-storage-engine=INNODB   大概在84行。
 
将default-storage-eng]]></description><category></category></item><item><title><![CDATA[冒泡数据排序算法]]></title><link>https://blog.youkuaiyun.com/smuhm/article/details/6997383</link><guid>https://blog.youkuaiyun.com/smuhm/article/details/6997383</guid><author>smuhm</author><pubDate>Mon, 21 Nov 2011 17:28:51 +0800</pubDate><description><![CDATA[冒泡数据排序算法


 





01
/*   冒泡法是数据排序的一种基本算法,它的基本方法是:相邻两元素进行比较,如有需要则进行交换,









02
每完成一次循环就将最小元素排在最后(如从大到小排序),下一次循环是将其他的数进行类似操作?









03
如将N 个数按从大到小排序,Turbo C语言程序函数]]></description><category></category></item><item><title><![CDATA[qsort函数简介]]></title><link>https://blog.youkuaiyun.com/smuhm/article/details/6979031</link><guid>https://blog.youkuaiyun.com/smuhm/article/details/6979031</guid><author>smuhm</author><pubDate>Wed, 16 Nov 2011 22:00:12 +0800</pubDate><description><![CDATA[功 能: 使用快速排序例程进行排序

　　用 法: void qsort(void *base, int nelem, int width, int (*fcmp)(const void *,const void *));

　　参数：1 待排序数组首地址 2 数组中待排序元素数量 3 各元素的占用空间大小 4 指向函数的指针，用于确定排序的顺序

c函数qsort()和bsearch]]></description><category></category></item><item><title><![CDATA[memset函数详细说明]]></title><link>https://blog.youkuaiyun.com/smuhm/article/details/6978956</link><guid>https://blog.youkuaiyun.com/smuhm/article/details/6978956</guid><author>smuhm</author><pubDate>Wed, 16 Nov 2011 21:51:18 +0800</pubDate><description><![CDATA[1。void *memset(void *s,int c,size_t n)
总的作用：将已开辟内存空间 s 的首 n 个字节的值设为值 c。

2。例子
＃include

void main(){
char *s="Golden Global View";

clrscr();

memset(s,'G',6);
printf("%s",s);

getchar()]]></description><category></category></item><item><title><![CDATA[离散时间信号]]></title><link>https://blog.youkuaiyun.com/smuhm/article/details/6889883</link><guid>https://blog.youkuaiyun.com/smuhm/article/details/6889883</guid><author>smuhm</author><pubDate>Thu, 20 Oct 2011 11:03:53 +0800</pubDate><description><![CDATA[http://wlsyzx.yzu.edu.cn/kcwz/szxhcl/kechenneirong/jiaoan/jiaoan_frame.htm 
 
http://wlsyzx.yzu.edu.cn/kcwz/szxhcl/kechenneirong/jiaoan/jiaoan1.htm
绪论
 
1．数字信号处理（DSP，digital signal processing）
信]]></description><category></category></item><item><title><![CDATA[平行四边形的第四个点及其面积]]></title><link>https://blog.youkuaiyun.com/smuhm/article/details/6889856</link><guid>https://blog.youkuaiyun.com/smuhm/article/details/6889856</guid><author>smuhm</author><pubDate>Thu, 20 Oct 2011 10:54:16 +0800</pubDate><description><![CDATA[已知平行四边形的三个顶点分别为A（0，2）B（-2，1）C（1，-1）求：这个平行四边的第四个点的坐标及面积
设D(x,y)由于ABCD是平行四边形所以 向量AB=向量DC（-2，1）-（0，2）=（1，-1）-(x,y)(-2,-1)=(1-x,-1-y) 所以-2=1-x -1=-1-yx=3 y=0
D坐标为（3,0）所以 向量AB=（-2，1）-（0，2）=(-2,-1) 向量AD=（]]></description><category></category></item><item><title><![CDATA[三角形的面积]]></title><link>https://blog.youkuaiyun.com/smuhm/article/details/6889854</link><guid>https://blog.youkuaiyun.com/smuhm/article/details/6889854</guid><author>smuhm</author><pubDate>Thu, 20 Oct 2011 10:53:45 +0800</pubDate><description><![CDATA[1、 在几何中，已知三边的长（分别为a,b,c)，求三角形的面积，我们都知道使用求积公式： 
            △＝√[s(s-a)(s-b)(s-c)]
              其中s=1/2(a b c)
    这个公式一般称之为海伦公式。
2、在平面解析几何中， 设A(x1,y1),B(x2,y2),C(x3,y3) 
由A-->B-->C-->A 按逆时针方向转。(行]]></description><category></category></item><item><title><![CDATA[线性表学习指导]]></title><link>https://blog.youkuaiyun.com/smuhm/article/details/6889850</link><guid>https://blog.youkuaiyun.com/smuhm/article/details/6889850</guid><author>smuhm</author><pubDate>Thu, 20 Oct 2011 10:53:03 +0800</pubDate><description><![CDATA[程序设计只能靠自己上机实践、一题题的消化，没有其它方法可以取代。行动吧！做一个能学习计算机的人。
本文所指的书《C程序设计》，谭浩强，第四版、《数据结构》耿国华。
OJ网址http://218.5.241.13:8060/oj，内有分基础题basic区http://218.5.241.13:8060/oj/base/index.jsp
和普通区http://218.5.241.13:8060]]></description><category></category></item><item><title><![CDATA[2011.9.15   10网工2班  做题统计]]></title><link>https://blog.youkuaiyun.com/smuhm/article/details/6889848</link><guid>https://blog.youkuaiyun.com/smuhm/article/details/6889848</guid><author>smuhm</author><pubDate>Thu, 20 Oct 2011 10:51:54 +0800</pubDate><description><![CDATA[1
20100862204 - 赵志滨 
69.75%(166/238)


2
20100862233 - 陆永东 
61.80%(144/233)


3
20100862246 - 吴宝发 
47.77%(107/224)


4
20100862207 - 黄保敬 
45.85%(94/205)


5
20100862240 - 林上鸿 
38]]></description><category></category></item><item><title><![CDATA[数字信号处理群延迟]]></title><link>https://blog.youkuaiyun.com/smuhm/article/details/6889844</link><guid>https://blog.youkuaiyun.com/smuhm/article/details/6889844</guid><author>smuhm</author><pubDate>Thu, 20 Oct 2011 10:50:56 +0800</pubDate><description><![CDATA[群延迟（Group Delay）
 
　　定义：相位变化与频率变化的比叫群延迟。也就是将相位特性用频率进行微分后的特性。
 
　　也就是相频特性的负导数τ(ω)=-dφ(ω)/dω。
 
　　特性：群延迟直观上就是信号波形包络的时延，单个频率是不存在群延时的；
 
　　从公式来看是相频特性曲线的斜率，反映的是一个器件对带内每个频点信号相位的影响，群延迟恒定时传输波形失真最小。]]></description><category></category></item><item><title><![CDATA[三角形ABC的顶点坐标，判断三角形ABC是否直角三角形]]></title><link>https://blog.youkuaiyun.com/smuhm/article/details/6886184</link><guid>https://blog.youkuaiyun.com/smuhm/article/details/6886184</guid><author>smuhm</author><pubDate>Tue, 18 Oct 2011 21:58:01 +0800</pubDate><description><![CDATA[勾股定理的方法
算出各边的距离
#include
void main()
{   float  a,b,c,t;
    cout<<"请输入三边的长度："
    cin>>a>>b>>c;
    if(a<b)  {t=a;a=b;b=t;}
    if(]]></description><category></category></item><item><title><![CDATA[已知三角形三点坐标,求三角形的面积]]></title><link>https://blog.youkuaiyun.com/smuhm/article/details/6886149</link><guid>https://blog.youkuaiyun.com/smuhm/article/details/6886149</guid><author>smuhm</author><pubDate>Tue, 18 Oct 2011 21:50:04 +0800</pubDate><description><![CDATA[先介绍一下三维中的两点之间距离之式，和二维的几乎一样：d = sqrt((x0-x1)^2 + (y0-y1)^2 + (z0-z1)^2)
再介绍叉乘，中心内容！叉乘在定义上有：两个向量进行叉乘得到的是一个向量，方向垂直于这两个向量构成的平面，大小等于这两个向量组成的平行四边]]></description><category></category></item><item><title><![CDATA[scanf语句]]></title><link>https://blog.youkuaiyun.com/smuhm/article/details/6882411</link><guid>https://blog.youkuaiyun.com/smuhm/article/details/6882411</guid><author>smuhm</author><pubDate>Mon, 17 Oct 2011 20:16:05 +0800</pubDate><description><![CDATA[scanf("%c%*c",&ch)
在格式字符中使用星号（*），表示从缓冲区中读入该数据项后不赋于相应的变量，即跳过该输入值；
Scanf(“%d%*d%d”,&a,&b)
12 34 56  a=12 b=56
//在%后面的*表示对应位置上的输入数据可以被忽略。]]></description><category></category></item><item><title><![CDATA[平面两条直线垂直]]></title><link>https://blog.youkuaiyun.com/smuhm/article/details/6882407</link><guid>https://blog.youkuaiyun.com/smuhm/article/details/6882407</guid><author>smuhm</author><pubDate>Mon, 17 Oct 2011 20:13:09 +0800</pubDate><description><![CDATA[两条直线在同一平面内
1、如果斜率为k1和k2，那么这两条直线垂直的充要条件是k1·k2=－1
2、如果一直线不存在斜率，则两直线垂直时，一直线的斜率必然为零.
3、两直线垂直的充要条件是：A1A2+B1B2=0.]]></description><category></category></item><item><title><![CDATA[最大公约数的两种求法]]></title><link>https://blog.youkuaiyun.com/smuhm/article/details/6882349</link><guid>https://blog.youkuaiyun.com/smuhm/article/details/6882349</guid><author>smuhm</author><pubDate>Mon, 17 Oct 2011 20:01:55 +0800</pubDate><description><![CDATA[如果有一个自然数a能被自然数b整除，则称a为b的倍数，b为a的约数。几个自然数公有的约数，叫做这几个自然数的公约数。公约数中最大的一个公约数，称为这几个自然数的最大公约数。 
这个有几种方法，下面是两种不错的方法：
（1）辗转相减法（求差判定法）
    如果两个数相差不大]]></description><category></category></item></channel></rss>