2009年10月25日

TSR

摘要: TSR:terminate and stay resident 终止并驻留 (terminate-and-stay-resident) 的缩写。tsr 程序采用“后台”方式运行。大多数 tsr 程序均有一个预定义的组合键(有时称作“热键”),使您可以在运行其它程序时启用 tsr 程序接口。运行 tsr 程序后,您可以返回其它应用程序,并将 tsr 程序保存在内存中以备后用。 功能:执行后,进入内存,但什么也不做。当你按下其事先设定的激活键后,TSR程序调出,并执行相关功能。 大多是dos下的,比如bios,显卡驱动,dos鼠标驱动,输入法,高端内存分配等等 阅读全文

posted @ 2009-10-25 21:31 java课程设计 阅读(370) 评论(0) 推荐(0)

windows installer

摘要: 前两天电脑重装系统,装好后开始安装QQ,结果发现只能安装08版本的,不能安装09的,最后发现是windows installer的问题。 微软Windows Installer作为Win2K/WinXP/WinVista的组件之一,是专门用来管理和配置软件服务的工具。在Win95、Win98、WinMe与WinNT4.0下,作为额外的产品提供,允许用户有效地安装与配置软件产品与应用程序。新的Installer提供给软件产品新的特性,例如使用命令行安装产品、增加了用户的可定制性。 Windows Installer 软件安装技术。该技术包括适用于 32 位 Windows 操作系统的 W... 阅读全文

posted @ 2009-10-25 15:35 java课程设计 阅读(376) 评论(0) 推荐(0)

The Wholeness of Life

摘要: Once a circle missed a wedge. The circle wanted to be whole, so it went around looking for its missing piece. But because it was incomplete and therefore could roll only very slowly, it admired the flowers along the way. It chatted with worms. It enjoyed the sunshine. It found lots of different piec 阅读全文

posted @ 2009-10-25 15:32 java课程设计 阅读(255) 评论(0) 推荐(0)

奥巴马获胜演讲

摘要: Hello, Chicago!If there is anyone out there who still doubts that America is a place where all things are possible; who still wonders if the dream of our founders is alive in our time; who still questions the power of our democracy, tonight is your answer.It's the answer told by lines that stret 阅读全文

posted @ 2009-10-25 15:31 java课程设计 阅读(150) 评论(0) 推荐(0)

异常处理

摘要: #include <iostream>using namespace std;class Rainbow {public: Rainbow() { cout << "Rainbow()" << endl; } ~Rainbow() { cout << "~Rainbow()" << endl; }};void oz() { Rainbow rb; for(int i = 0; i < 3; i++) cout << "there's no place like 阅读全文

posted @ 2009-10-25 15:30 java课程设计 阅读(110) 评论(0) 推荐(0)

四种线程同步

摘要: 1.Critical SectionA.速度快B.不能用于不同进程C.不能进行资源统计(每次只可以有一个线程对共享资源进行存取)2.MutexA.速度慢B.可用于不同进程C.不能进行资源统计3.SemaphoreA.速度慢B.可用于不同进程C.可进行资源统计(可以让一个或超过一个线程对共享资源进行存取)4.EventA.速度慢B.可用于不同进程C.可进行资源统计 阅读全文

posted @ 2009-10-25 15:29 java课程设计 阅读(114) 评论(0) 推荐(0)

C/C++ 笔试、面试题目大汇总收藏(上)

摘要: 1.求下面函数的返回值(微软)int func(x){ int countx = 0; while(x) { countx ++; x = x&(x-1); } return countx;}假定x = 9999。 答案:8思路:将x转化为2进制,看含有的1的个数。2. 什么是“引用”?申明和使用“引用”要注意哪些问题?答:引用就是某个目标变量的“别名”(alias),对应用的操作与对变量直接操作效果完全相同。申明一个引用的时候,切记要对其进行初始化。引用声明完毕后,相当于目标变量名有两个名称,即该目标原名称和引用名,不能再把该引用名作为其他变量名的别名。声明一个引用,不是新定义了一个 阅读全文

posted @ 2009-10-25 15:28 java课程设计 阅读(198) 评论(0) 推荐(0)

C/C++ 笔试、面试题目大汇总收藏(下)

摘要: 28.当一个类A 中没有生命任何成员变量与成员函数,这时sizeof(A)的值是多少,如果不是零,请解释一下编译器为什么没有让它为零。(Autodesk)答案:肯定不是零。举个反例,如果是零的话,声明一个class A[10]对象数组,而每一个对象占用的空间是零,这时就没办法区分A[0],A[1]…了。29. 在8086 汇编下,逻辑地址和物理地址是怎样转换的?(Intel)答案:通用寄存器给出的地址,是段内偏移地址,相应段寄存器地址*10H+通用寄存器内地址,就得到了真正要访问的地址。30.比较C++中的4种类型转换方式?请参考:http://blog.csdn.net/wfwd/archi 阅读全文

posted @ 2009-10-25 15:28 java课程设计 阅读(210) 评论(0) 推荐(0)

传值调用与传值调用

摘要: #include "stdio.h"void swap(int x,int y){int temp;temp=x;x=y;y=temp;}main(){int a=2,b=3;swap(a,b);printf("a=%d,b=%d/n",a,b);}很简单是吧..........void GetMemory( char *p ){p = (char *) malloc( 100 );}void Test( void ){char *str = NULL;GetMemory( str );strcpy( str, "hello world&quo 阅读全文

posted @ 2009-10-25 15:27 java课程设计 阅读(141) 评论(0) 推荐(0)

catch,try,throw

摘要: #include <iostream>using namespace std;class Except1 {};class Except2 {public: Except2(const Except1&) {}};void f() { throw Except1(); }int main() { try { f(); } catch(Except2&) { cout << "inside catch(Except2)" << endl; } catch(Except1&) { cout << " 阅读全文

posted @ 2009-10-25 15:26 java课程设计 阅读(138) 评论(0) 推荐(0)

导航