上一页 1 ··· 6 7 8 9 10 11 12 13 下一页
  2014年3月18日
摘要: XRDP服务器CentOS安装XRDP实现远程桌面访问:由于安装的是远程桌面,因此需要安装桌面显示服务:# yum install vnc-server下面开始配置XRDP服务l 配置环境:# yum install gcc pam-devel openssl-devel -yl 进入指定目录下载并... 阅读全文
posted @ 2014-03-18 10:59 上海—Michael 阅读(1635) 评论(0) 推荐(0) 编辑
摘要: 环境:centos 5.8安装:1、yum安装oepnldap、openldap-servers、openldap-clients、openldap-devel[root@hao-linux ~]#yum -y install openldap openldap-servers openldap-c... 阅读全文
posted @ 2014-03-18 10:58 上海—Michael 阅读(1352) 评论(2) 推荐(0) 编辑
摘要: 1、安装Yum install -y freeradius freeradius-mysql freeradius-utils2、配置1)修改 clients.conf# vi /usr/local/etc/raddb/clients.conf在最后增加如下几行:client 172.18.5.88... 阅读全文
posted @ 2014-03-18 10:55 上海—Michael 阅读(887) 评论(0) 推荐(0) 编辑
摘要: Telnet开启telnet服务步骤:1. 查看CentOS/Telnet_server版本:#cat /etc/issue, #rpm -qa | grep telnet2. 安装服务:# yum install telnet-server3. 查看安装结果:#rpm –qa | grep tel... 阅读全文
posted @ 2014-03-18 10:53 上海—Michael 阅读(6118) 评论(0) 推荐(0) 编辑
  2014年3月16日
摘要: #include "stdafx.h"#include #include using namespace std;void SetColor(unsigned short ForeColor=3,unsigned short BackGroundColor=0){ HANDLE hCon = Ge... 阅读全文
posted @ 2014-03-16 21:15 上海—Michael 阅读(215) 评论(0) 推荐(0) 编辑
摘要: #include "stdafx.h"#include #define DIRNAME_LEN (MAX_PATH+2)BOOL PrintStrings(HANDLE hOut,...){ DWORD msgLen,count; LPCTSTR pMsg; va_list pMsgLi... 阅读全文
posted @ 2014-03-16 16:39 上海—Michael 阅读(394) 评论(0) 推荐(0) 编辑
摘要: 标准库提供的一些参数的数目可以有变化的函数。例如我们很熟悉的printf,它需要有一个格式串,还应根据需要为它提供任意多个“其他参数”。这种函数被称作“具有变长度参数表的函数”,或简称为“变参数函数”。我们写程序中有时也可能需要定义这种函数。要定义这类函数,就必须使用标准头文件,使用该文件提供的一套... 阅读全文
posted @ 2014-03-16 16:33 上海—Michael 阅读(3835) 评论(0) 推荐(0) 编辑
  2014年3月14日
摘要: #include "stdafx.h"#include #include #define BUF_SIZE 256BOOL cci_f(LPCTSTR,LPCTSTR,DWORD);int _tmain (int argc, LPTSTR argv []){ if(argc != 4) {pri... 阅读全文
posted @ 2014-03-14 14:50 上海—Michael 阅读(431) 评论(0) 推荐(0) 编辑
摘要: CString csPlus;CString csSummand;m_PlusNumber.GetWindowTextW(csPlus);m_Summand.GetWindowTextW(csSummand);int nPlus = atoi(csPlus.GetBuffer(0)); //将编辑框... 阅读全文
posted @ 2014-03-14 14:07 上海—Michael 阅读(1611) 评论(0) 推荐(0) 编辑
  2014年3月13日
摘要: 首先,把12个小球分成三等份,每份四只。 拿出其中两份放到天平两侧称(第一次) 情况1:天平平衡那么那八个拿上去称的小球都是正常的,特殊的在四个里面。 把剩下四个小球拿出三个放到一边,另一边放三个正常的小球(第二次) 情况1-1:天平平衡特殊的是剩下的那个。从正常的里面取出任意一个和特殊的那个分别放... 阅读全文
posted @ 2014-03-13 10:32 上海—Michael 阅读(861) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 下一页