随笔分类 -  Interview Dictionary for Developer

share all classical questions for Interview
如何定义一个提供异步方法的类
摘要:本文介绍了如何定义一个提供异步方法的类 仅供参考哦 阅读全文

posted @ 2008-10-30 17:23 飞天舞者 阅读(309) 评论(0) 推荐(0) 编辑

静态链接库LIB和动态链接库DLL的区别 创建和示例
摘要:静态链接库与动态链接库都是共享代码的方式... 阅读全文

posted @ 2008-07-05 14:35 飞天舞者 阅读(20289) 评论(2) 推荐(2) 编辑

运算转换符static_cast,const_cast,reinterpret_cast,dynamic_cast之间的区别
摘要:运算转换符static_cast,const_cast,reinterpret_cast,dynamic_cast之间的区别 阅读全文

posted @ 2008-07-01 14:56 飞天舞者 阅读(1992) 评论(0) 推荐(0) 编辑

C++中多态的实现原理
摘要:本文通过由代码调试和runtime时候的Debug,讲解了多态的实现原理及过程,从而有助于深入理解多态的概念。 阅读全文

posted @ 2008-06-30 16:27 飞天舞者 阅读(3368) 评论(8) 推荐(1) 编辑

C++本质:类的赋值运算符=的重载,以及深拷贝和浅拷贝
摘要:在面向对象程序设计中,对象间的相互拷贝和赋值是经常进行的操作。 如果对象在申明的同时马上进行的初始化操作,则称之为拷贝运算。例如: class1 A("af"); class1 B=A; 此时其实际调用的是B(A)这样的浅拷贝操作。 如果对象在申明之后,在进行的赋值运算,我们称之为赋值运算。例如: class1 A("af"); class1 B; B=A; 此时实际调用的类的缺省赋值函数B.operator=(A); 不管是浅拷贝还是赋值运算,其都有缺省的定义。也就是说,即使我们不overload这两种operation,仍然可以运行。 那么,我们到底需不需要overload这两种operation 呢? 阅读全文

posted @ 2008-06-03 11:15 飞天舞者 阅读(21679) 评论(3) 推荐(8) 编辑

数据结构C#实现-二叉查找树的创建,查找,以及各种递归(非递归)遍历算法
摘要:树是一种非常重要的数据结构,Binary Tree则是树型结构中应用最为广泛。本文给出了C#版本的二叉树的建立,查找,以及各种递归和非递归的遍历算法。 阅读全文

posted @ 2008-06-02 18:10 飞天舞者 阅读(1105) 评论(0) 推荐(0) 编辑

经典数据结构之栈的应用-迷宫问题
摘要:Stack的应用非常广泛,如数学公式计算,树的前序遍历等等。 阅读全文

posted @ 2008-05-31 14:18 飞天舞者 阅读(2083) 评论(0) 推荐(0) 编辑

System.Collections深入探讨--如何创建自定义的集合类
摘要: 在System.Collections namespace下面,存在两个class ,分别为ArrayList和 List ,都可以实现对象的数组队列。那么两者之间到底有什么区别呢?如何利用其创建自定义的集合类呢? 阅读全文

posted @ 2008-05-29 17:18 飞天舞者 阅读(801) 评论(0) 推荐(0) 编辑

Garbage Collection Essence--.Net中Garbage Collection深入探讨
摘要:本文介绍了.Net Framework的垃圾回收机制,及其对managed resource和unmanaged resource的回收方法。 阅读全文

posted @ 2008-05-28 15:47 飞天舞者 阅读(408) 评论(0) 推荐(0) 编辑

C#中的安全策略
摘要:1.安全性 .Net的安全性包括代码和数据不被错误的使用或者被其他的程序破坏,这种安全机制是通过加强对托管代码的限制和保护来实施的(This security mechanism is implemented by strengthing restriction and protection for the managed code)。 .Net 程序需要请求他们操作, 有管理员设定的安全... 阅读全文

posted @ 2008-05-26 15:00 飞天舞者 阅读(909) 评论(0) 推荐(0) 编辑

C#中不安全代码的编写和指针的应用
摘要:关键字:托管代码managed code, 不安全代码unsafe code, 固定托管指针fixed, 在stack上分配空间stackalloc Managedd Code和UnManaged Code 运行在公共语言运行库 (CLR) 的控制之下的代码称为“托管代码”,运行在 CLR 之外的代码称为“非托管代码”。COM、COM+、C++ 组件、ActiveX 组件和 Win32 ... 阅读全文

posted @ 2008-05-26 11:46 飞天舞者 阅读(1018) 评论(0) 推荐(0) 编辑

CPU Scheduling进程调度算法
摘要:1.Preemptive scheduling CPU scheduling decisons may take place under the following four conditions: 1.when a process switches from running state to the waiting state(for example, I/O Request ... 阅读全文

posted @ 2008-05-25 14:50 飞天舞者 阅读(1789) 评论(0) 推荐(0) 编辑

有关C#常见面试问题
摘要:如果你能全部正确回答,说明你对C#和.NET Framework有一定深度的了解 阅读全文

posted @ 2008-05-22 21:57 飞天舞者 阅读(662) 评论(0) 推荐(0) 编辑

C#中值类型和引用类型(value type&Reference tyoe)深度探讨
摘要:在C#中,no matter what language the code is programmed with, 所有的source code都被编译成为IL,然后再CLR(类似于JAVA的虚拟机)上运行。当然,CLR会负责把IL转化为machine language. 但是,不管我们运用那种语言编程,都会存在一些最为常用的数据类型,我们称之为primitive t... 阅读全文

posted @ 2008-05-22 16:55 飞天舞者 阅读(783) 评论(0) 推荐(0) 编辑

[结构型(接口型模式)]Adapter pattern 适配器模式
摘要:1 Adapter模式的作用 假设存在已经开发好的类及其特定方法,但是在reuse的时候和现有接口之间存在不协调,这时我们必须利用某种机制将已经存在的特定方法转化为另外能够接受的方法。这就是Adapter pattern。 (Adapter pattern是所有模式中最简单直观的模式了 :) ) 2 Adapter模式的分类 Adapter模式的实现分为2种方式。 一种是建... 阅读全文

posted @ 2008-05-13 15:50 飞天舞者 阅读(315) 评论(0) 推荐(0) 编辑

[创建型模式系列]simple factory & factory method 简单工厂类和工厂方法类的概念及区别
摘要:1.simple factory pattern简单工厂类模式 simple factory is that all products are produced by the respectice concrete method from simple factory. 简单工厂类就是所有其产品都是由简单工厂的具体方法来生产的。 还是以abstract类介绍的桌子生产过程为... 阅读全文

posted @ 2008-05-13 14:25 飞天舞者 阅读(487) 评论(0) 推荐(0) 编辑

[创建型模式系列]Abstract factory of Design Pattern模式设计之抽象工厂模式
摘要:1 the intention of asbract factory抽象工厂模式的设计意图 to supply interface for a series of related or depedent objects, meanwhile, you do not need to specify the concrete classes。 提供一个创建一系列相关或者... 阅读全文

posted @ 2008-05-13 12:21 飞天舞者 阅读(482) 评论(0) 推荐(0) 编辑

[创建型模式系列]Chain of Responsibility Pattern 责任链模式
摘要:1 Chain of Responsibility Concepts 责任链基础 Chain of Responsibility is a kind of behaviour pattern for object. In the COR pattern, many objects which are referenced to next form a responsibility ... 阅读全文

posted @ 2008-05-07 11:35 飞天舞者 阅读(387) 评论(0) 推荐(0) 编辑

The Mediator Pattern of Design Model调停者模式/中介者模式
摘要:1 Mediator Pattern definition 调停者模式定义 The Mediator Pattern defines an object that encapsulates how a set of objects interact. This promotes loose coupling,keeping the objects from refering to ... 阅读全文

posted @ 2008-05-05 17:19 飞天舞者 阅读(708) 评论(0) 推荐(0) 编辑

B-Trees Concepts B-树介绍(都快忘了:))
摘要:1.about B-Tree Although most of the search trees are binary trees, there is a popular serach tree taht is not binary. this tree is known as a B-tree. 虽然大多数的查找树是二叉树,但是也存在不是二叉树的查找树。这种树就是B-树。简言之,B树是一种多... 阅读全文

posted @ 2008-04-28 17:41 飞天舞者 阅读(793) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
For more information about me, feel free email to me winston.he@hotmail.com
点击右上角即可分享
微信分享提示