上一页 1 ··· 54 55 56 57 58 59 60 61 62 ··· 76 下一页
摘要: Network Working Group R. Troll Request for Comments: 2563 @Home Network Category: Standards Track ... 阅读全文
posted @ 2007-11-23 17:32 ahuo 阅读(237) 评论(0) 推荐(0) 编辑
摘要: DHCP Server Management API Server Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0. Header ... 阅读全文
posted @ 2007-11-22 17:15 ahuo 阅读(883) 评论(0) 推荐(0) 编辑
摘要: 有5幢不同颜色的房子,它们的主人分别是5个不同国籍的人;每人只喝一种饮料,而且5人各不相同;每人只吸一种牌子的烟,而且5人各不相同;每人只养一个宠物,而且5人各不相同。 已知:⑴ 英国人住在红房子里; ⑵ 瑞典人养了一条狗; ⑶ 丹麦人喝茶; ⑷ 绿房子在白房子左边; ⑸ 绿房子主人喝咖啡; ⑹ 抽A牌香烟的人养鸟; ⑺ 黄房子主人抽D牌香烟; ⑻ 住在中间房子的主人喝牛奶; ⑼ 挪... 阅读全文
posted @ 2007-11-18 21:40 ahuo 阅读(1496) 评论(1) 推荐(0) 编辑
摘要: m_dir=""; CHAR *buf=new char[100]; char drs[26]; GetLogicalDriveStrings(50,buf); int i=0; while (*buf) { drs[i]=*buf; while(*buf!='\0')buf++; buf++; ... 阅读全文
posted @ 2007-11-09 16:09 ahuo 阅读(421) 评论(0) 推荐(0) 编辑
摘要: 通常微软的操作系统有三种版本,这三种版本只是销售对象不一样,使用起来都一样。 1、Retail[Full Packaged Product (FPP)]:零售版,就是在各大软件店看到有漂亮包装的那种。可以升级安装,也可以全新安装。 2、OEM(Original Equipment Manufacturer):随机版,只能随机器出货,不能零售,所以叫做随机版。只能全新安装 ,不能从旧有操... 阅读全文
posted @ 2007-11-07 23:02 ahuo 阅读(857) 评论(0) 推荐(0) 编辑
摘要: HANDLE hProcess=NULL; HANDLE hToken=NULL; DWORD dwProcessID=GetProcessIDFromName("explorer.exe"); BOOL bRet=FALSE; if(dwProcessID) { hProcess=OpenProcess(PROCESS_ALL_ACCESS,FALSE,dwProcessID);... 阅读全文
posted @ 2007-11-05 18:00 ahuo 阅读(271) 评论(0) 推荐(0) 编辑
摘要: 有时候会发现用了guest的登录一个共享目录时,希望更改其他用户去登录 却因为登录窗口没有谈出来而改变不了 其实只要在命令行里运行 net use * /del 把那些连接删掉就可以用其他用户去登录了 阅读全文
posted @ 2007-11-05 11:39 ahuo 阅读(443) 评论(0) 推荐(0) 编辑
摘要: 先为对话框加上2个radio button,分别是Radio1和Radio2。 问题1:如何让Radio1或者Radio2默认选上?如何知道哪个被选上了? 关键是选上,“默认”只要放在OnInitDialog()即可。三种方法可以让它选上, 第一种: ((CButton *)GetDlgItem(IDC_RADIO1))->SetCheck(TRUE);//选上 ((CButton *)GetDl... 阅读全文
posted @ 2007-11-01 14:23 ahuo 阅读(1621) 评论(0) 推荐(0) 编辑
摘要: char buf[33]={"\0"}; srand(time(NULL)); for (int i=0;i48) || (c66) || (c97)) { break; } c=rand()%122; } buf[j]=c; } printf("%s\n",buf); } 阅读全文
posted @ 2007-10-31 17:39 ahuo 阅读(919) 评论(0) 推荐(0) 编辑
摘要: 1 文档类 (1) Doxygen 参考站点:http://www.doxygen.org Doxygen是一种适合C风格语言(如C++、C、IDL、Java甚至包括C#和PHP)的、开放源码的、基于命令行的文档产生器。 (2) C++2HTML 参考站点:http://www.bedaux.net/cpp2html/ 把C++代... 阅读全文
posted @ 2007-10-24 12:35 ahuo 阅读(1652) 评论(0) 推荐(0) 编辑
摘要: Boost中比较有名气的有这么几个库: Regex 正则表达式库 Spirit LL parser framework,用C++代码直接表达EBNF Graph 图组件和算法 Lambda 在调用的地方定义短小匿名的函数对象,很实用的functional功能 concept check 检查泛型编程中的concept Mpl 用模板实现的元编程框架 Thread 可移植的C++多线程库 Pytho... 阅读全文
posted @ 2007-10-24 12:02 ahuo 阅读(2285) 评论(0) 推荐(0) 编辑
摘要: #include #include int main( void ) { FILE *stream; typedef struct _tt{ int a; int b; char buf[20]; }tt; tt temp; temp.a=10; temp.b=20; strcpy(temp.buf,"hello"); int c=sizeof(temp); ... 阅读全文
posted @ 2007-10-23 15:33 ahuo 阅读(693) 评论(0) 推荐(0) 编辑
摘要: #include "stdafx.h" #include using namespace std; int main(int argc, char* argv[]) { printf("Hello World!\n"); string s1="hello world!"; printf("s1.find('o')=%d \n",s1.find('o')); printf("s1.f... 阅读全文
posted @ 2007-10-19 17:21 ahuo 阅读(1007) 评论(0) 推荐(0) 编辑
摘要: printf("%s\n%s\n",getenv("temp"),getenv("windir")); _putenv( "LIB=c:\\mylib;c:\\yourlib" ); 阅读全文
posted @ 2007-10-17 11:51 ahuo 阅读(2979) 评论(0) 推荐(0) 编辑
摘要: #include "stdafx.h" #include #include int main(int argc, char* argv[]) { printf("Hello World!\n"); srand(time(0)); for (int i=0;i<10;i++) { printf("%x ",(int)rand()%1000); } printf("\n"); ... 阅读全文
posted @ 2007-10-16 16:51 ahuo 阅读(259) 评论(0) 推荐(0) 编辑
上一页 1 ··· 54 55 56 57 58 59 60 61 62 ··· 76 下一页