摘要: Question #8: Given the code below, the variable y can be accessed in which blocks of code? 55% on 11229 times asked 1 int main(int argc, char** argv) 2 { 3 4 if ( argc > 10) ) 5 { 6 7 } 8 else if... 阅读全文
posted @ 2009-05-11 16:49 飞扬跋扈 阅读(204) 评论(0) 推荐(0) 编辑
摘要: DSOFRAMER使用小结 Posted on 2009-05-07 16:34 海岛 阅读(20) 评论(1) 编辑 收藏 网摘 所属分类: C#的海洋 --最近一直想用VC#2005做个内嵌WORD/OFFICE的WINFORM程序,目前主要有以下解决途径:1、直接通过API把WORD/OFFICE的窗口句柄给放到WINFORM中(感觉较为复杂);2、通过WEB BROWSER;3、利用D... 阅读全文
posted @ 2009-05-07 16:44 飞扬跋扈 阅读(1675) 评论(2) 推荐(0) 编辑
摘要: Question 1Can you name the special functions a C++ compiler can create implicitly?tip answerQuestion 2What are the two ways to achieve automatic type conversion from type X to type Y?tip answerQuestio... 阅读全文
posted @ 2009-05-06 17:52 飞扬跋扈 阅读(308) 评论(0) 推荐(0) 编辑
摘要: When an executable file is invoked, the operating system loader creates the virtual address space for the process. Then the loader maps the executable module into the process' address space. The loade... 阅读全文
posted @ 2009-05-06 16:59 飞扬跋扈 阅读(204) 评论(0) 推荐(0) 编辑
摘要: Compiler Error C2552 non-aggregates cannot be initialized with initializer list. This error beacuse of the following..... The specified identifier was incorrectly initialized.An initializer list is ne... 阅读全文
posted @ 2009-05-04 10:17 飞扬跋扈 阅读(1621) 评论(0) 推荐(0) 编辑
摘要: c++里面用L宏的时候只是说是宽字符,但是并不一定是Unicode,也就是说具体使用什么字符集要程序员自己去设定,这就是imbue的作用,那你文件里不能输入汉字也是这个问题,你只要象下面一样设置下就可以了: in.imbue(locale("chs")); in>>text; out.imbue(locale("chs")); out #include using namespace... 阅读全文
posted @ 2009-04-30 10:47 飞扬跋扈 阅读(1421) 评论(0) 推荐(0) 编辑
摘要: 大龙的博客 C++博客 | 首页 | 发新随笔 | 发新文章 | 联系 | 聚合 | 管理 ... 阅读全文
posted @ 2009-04-28 11:21 飞扬跋扈 阅读(424) 评论(1) 推荐(0) 编辑
摘要: 什么是句柄(windows os)收藏 句柄是WONDOWS用来标识被应用程序所建立或使用的对象的唯一整数,WINDOWS使用各种各样的句柄标识诸如应用程序实例,窗口,控制,位图,GDI对象等等。WINDOWS句柄有点象C语言中的文件句柄。从上面的定义中的我们可以看到,句柄是一个标识符,是拿来标识对象或者项目的,它就象我们的姓名一样,每个人都会有一个,不同的人的姓名不一样,但是,也可能有一个名... 阅读全文
posted @ 2009-04-23 16:53 飞扬跋扈 阅读(620) 评论(0) 推荐(0) 编辑
摘要: C#与.NET、CLR、CLI是什么关系?什么是.NET框架? 作者:顺时针 发表时间:2007-3-22 15:36:32 类型:文章 1、C#与.NET、CLR、CLI是什么关系?什么是.NET框架? 这个问题好专业啊!一句话两句话还真不好说清。您听说过C++中有个COM的概念吧?您听说过JAVA里的虚拟机吧?CLR(公共语言运行时)就是“COM虚拟机”。而... 阅读全文
posted @ 2009-04-21 13:26 飞扬跋扈 阅读(2150) 评论(0) 推荐(0) 编辑
摘要: using System;using System.IO;using System.Text;using System.Web;using System.Web.UI; public partial class _Default : Page { protected void Page_Load(object sender, EventArgs e) { } protected... 阅读全文
posted @ 2009-04-16 17:06 飞扬跋扈 阅读(165) 评论(0) 推荐(0) 编辑