RTTI(Run-Time Type Information,通过运行时类型信息)程序能够使用基类的指针或者引用来检查这些指针或引用所指的对象的实际派生类对象。
RTTI提供了以下两个非常有用的操作符:
(1)typeid操作符,返回指针和引用所指的实际类型。
(2)dynamic_cast操作符,将基类类型的指针或引用安全地转换为派生类型的指针或引用,dynamic_cast在转换的过...
分类:
编程语言 时间:
2015-07-08 22:40:48
阅读次数:
187
WCF - IIS HostingHosting a WCF service in IIS (Internet Information Services) is a step-by-step process. IIS Hosting is illustrated below in detail wi...
分类:
其他好文 时间:
2015-07-08 14:35:16
阅读次数:
122
摘抄:原文地址:http://www.kmapk.com/html/help/02/127.html一、天猫天猫触屏版二、淘宝淘宝网触屏版三、京东京东-手机版四、网易手机网易网五、百度meta指元素可提供有关页面的元信息(meta-information),比如针对搜索引擎和更新频度的描述和关键词。...
分类:
Web程序 时间:
2015-07-08 12:29:40
阅读次数:
153
CISSP All in one, chapter 2, Information Security Governance and Risk Management
分类:
其他好文 时间:
2015-07-06 22:59:19
阅读次数:
407
DialogsA dialog is a small window that prompts the user to make a decision or enter additional information. A dialog does not fill the screen and is n...
分类:
移动开发 时间:
2015-07-05 19:51:36
阅读次数:
306
Nine Great Books about Information VisualizationMaybe it’s anachronistic to celebrate static, printed books when so many of us love and create interac...
分类:
其他好文 时间:
2015-07-05 09:28:32
阅读次数:
141
Keil 编译 STM32工程,出现下述错误。 而且, Options for Target -> Output - Browse Information 选项无法勾选。
??
问题原因: 系统时间,不是当前时间,
解决办法: 将系统时间修改为当前时间时间。...
分类:
其他好文 时间:
2015-07-03 15:54:16
阅读次数:
99
报文流· HTTP 报文是在HTTP 应用程序之间发送的数据块。这些数据块以一些文本形式的元信息(meta-information)开头,这些信息描述了报文的内容及含义,后面跟着可选的数据部分。这些报文在客户端、服务器和代理之间流动。· HTTP 使用术语流入(inbound)和流出(outboun...
分类:
Web程序 时间:
2015-07-03 15:27:39
阅读次数:
262
使用 fork 后,可能需要获取 fork 的进程的运行状况,比如有没有异常、崩溃。
wait 在 man 中关键的描述如下:
All of these system calls are used to wait for state changes in a child of the calling process, and obtain information about the child...
分类:
系统相关 时间:
2015-07-02 01:09:30
阅读次数:
267
Question:You are given information about hotels in a country/city. X and Y coordinates of each hotel are known. You need to suggest the list of neares...
分类:
其他好文 时间:
2015-07-01 06:14:04
阅读次数:
233