RTTI(Run-Time Type
Information,通过运行时类型信息)程序能够使用基类的指针或引用来检查这些指针或引用所指的对象的实际派生类型.RTTI提供了以下两个非常有用的操作符:(1)typeid操作符,返回指针和引用所指的实际类型。(2)dynamic_cast操作符,将基类类型...
分类:
编程语言 时间:
2014-05-19 15:51:05
阅读次数:
312
#include
#include
#include //system(); 这个指令需要用到此头文件
#include //toupper要用到
void main()
{
char letter;
do{
printf("A Display directory listling\n");
printf("B Display disk information\n");
...
分类:
其他好文 时间:
2014-05-18 06:46:07
阅读次数:
292
1.MessageBoxIcon.Exclamation对话框设置为显示“惊叹号”图标(黄色三角形里面有一个感叹号)MessageBoxIcon.Information
弹出的消息框会有一个含感叹号的图标2.MessageBoxButtons.OK//MessageBoxButtons.OK按钮默认...
分类:
其他好文 时间:
2014-05-17 00:48:34
阅读次数:
245
The goal of this article is to provide some
background information regarding the Kerberos related configuration steps of the
FIM Portal and FIM Servic...
分类:
其他好文 时间:
2014-05-16 07:57:15
阅读次数:
465
1.Trie树简介
Trie树,又称字典树、前缀树,被用于信息检索(information retrieval)的数据结构。Trie一词便来自于单词retrieval。基本思想:用字符串的公共前缀降低查询时间。比如,在最优的查询二叉树中查询关键字的时间复杂度为M * log N,M是字符串最大长度,N为字符串数量;而用Trie树时,只需O(M)时间。
[1] 中给出一个简单...
分类:
其他好文 时间:
2014-05-15 23:36:16
阅读次数:
394
很简单的一个问题,既然有人提到了,那我就在这里记录一下。<H3C>sysSystemView:returntoUserViewwithCtrl+Z.[H3C]local-useradmin[H3C-luser-admin]passwordcipher12345678Updatinguser(s)information,pleasewait....[H3C-luser-admin]service-typetelnetlevel3[H3C-lus..
分类:
其他好文 时间:
2014-05-15 19:06:36
阅读次数:
294
1.什么是RTTI?
RTTI 是“Runtime Type Information”的缩写,意思是:运行时类型信息。它提供了运行时确定对象类型的方法。允许“用指向基类的指针或引用来操纵对象”的程序能够获取到“这些指针或引用所指对象”的实际派生类型。在 c++中,为了支持 RTTI 提供了两个操作符 :
1 dynamic_cast 操作符:它允许在运行时刻进行类型转换,从而使程...
分类:
编程语言 时间:
2014-05-15 11:19:41
阅读次数:
407
configure: error: mysql configure failed. Please check config.log for more information....
分类:
数据库 时间:
2014-05-15 05:15:02
阅读次数:
318
在php开发中遇到两个问题
(1)Cannot send session
cache limiter
解决方式 找到 php.ini 修改php.ini中的 session.auto_start = 0 为 session.auto_start
= 1
(2)Cannot modify header information
解决方式 找...
分类:
Web程序 时间:
2014-05-14 14:28:55
阅读次数:
396
RT,使用eclipse导入项目时 报
No marketplace entries found to handle yuicompressor maven plugin:1.3.0:compile in Eclipse. Please see Help for more information
我认为同事说的很对,
eclipse是面向插件的,maven插件m2ecli...
分类:
其他好文 时间:
2014-05-12 15:23:26
阅读次数:
333