2010年6月23日
摘要:
int add(const char* ip,const char* name){TiXmlDocument vmmdoc("vmmconfig.xml");TiXmlNode *phy;bool loadOkay = vmmdoc.LoadFile();if ( !loadOkay ){printf( "Could not load test file 'vmmconfig.xml'. Erro...
阅读全文
posted @ 2010-06-23 21:47
yangyh
阅读(283)
推荐(0)
2010年6月20日
摘要:
Linux获取本机IPCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--#include<stdio.h>#include<sys/ioctl.h>#include<sys/socket.h>#include<s...
阅读全文
posted @ 2010-06-20 03:17
yangyh
阅读(3234)
推荐(1)
2010年6月18日
posted @ 2010-06-18 13:55
yangyh
阅读(220)
推荐(0)
2010年6月15日
摘要:
;配置 vi /etc/ssh/sshd_config ;保证如下属性: ;RSAAuthentication yes ;PubkeyAuthentication yes ;生成公钥Address *.*.*.* maps to localhost, but this does not map back to the address – POSSIBLE BREAK-IN ATTEMPT!解决办...
阅读全文
posted @ 2010-06-15 01:10
yangyh
阅读(1208)
推荐(0)
2010年6月13日
摘要:
服务器A\B\C\D上的C程序是不能改了,只能用C写(由于各种原因) 现在的主要问题是:服务器E上的web server要与服务器A通讯,用于获取一些数据,由于没有数据库(由于各种原因),否则我把服务器A上汇总的数据存在数据库里,WEB SERVER去取就可以了。 于是,我想在web server里写个socket客户端,单例模式的,与服务器A的C程序通信,但是问题又存在了,S...
阅读全文
posted @ 2010-06-13 01:48
yangyh
阅读(1687)
推荐(0)
2010年5月30日
摘要:
刚下车,错过了考试时间(-_-)b :1.简要说明树的深度优先、广度优先遍历算法,及非递归实现的特点。2. 在处理磁盘数据时,需要首先将其读入内存才能进行处理。如果要读取的数据已经在内存中,则可以直接访问内存。通常来说内存是有限的,因此要读取新的数据时必须覆盖内存中一部分原有的数据。假设现在有n块同样大小的数据,内存一共可以容纳m块数据。现在给出一系列对这些数据的读取请求,要求它们必须按照给定的顺...
阅读全文
posted @ 2010-05-30 17:34
yangyh
阅读(23417)
推荐(5)
2010年5月20日
摘要:
代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--#include"stdafx.h"#include"stdio.h"#include"string.h"#include"stdlib.h"#defineMAXLEN1024voidFill0(ch...
阅读全文
posted @ 2010-05-20 21:39
yangyh
阅读(474)
推荐(0)
摘要:
代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--#include"stdafx.h"structTest{intnum;Test(){printf("11111111");}Test(inti){this->num=i;}voidfun(){...
阅读全文
posted @ 2010-05-20 12:06
yangyh
阅读(1883)
推荐(1)
2010年5月19日
摘要:
代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--//============================================================================//Name:Sort.cpp//Auth...
阅读全文
posted @ 2010-05-19 21:53
yangyh
阅读(417)
推荐(1)
2010年5月16日
摘要:
朋友替我投了简历,顺便觉得简历不够简洁,给我删了几个项目经历,简化了所有项目介绍,可恶的是,稀里糊涂地把我的本科院校改了,(-_-)b! 于是,开始了信心值0的PHP职位面试,真的,PHP从来没学过,我是自然不会了,而他,这位是PHPER,竟然也不会,(‘﹏′) ps:下面所有问题答案都来自网络问题1:存储过程的意义存储过程由SQL语句和流程控制语句组成。它的功能包括:接受...
阅读全文
posted @ 2010-05-16 19:53
yangyh
阅读(822)
推荐(1)