STL源码之vector1. SGI的vectorSGI stl vector继承子一个基类:template > class vector : protected _Vector_base在基类中定义了基本的一些操作,并且封装了了vector所需要的基本的三个指针:struct _Vector_....
分类:
其他好文 时间:
2014-07-13 23:19:35
阅读次数:
188
1、错误描述
2014-7-12 22:08:01 org.hibernate.tool.hbm2ddl.SchemaUpdate execute
INFO: HHH000232: Schema update complete
2014-7-12 22:08:01 org.hibernate.internal.SessionFactoryImpl buildCurrentSessionConte...
分类:
编程语言 时间:
2014-07-13 16:24:14
阅读次数:
332
//TransmitFile实现下载 protected void Button1_Click1(object sender, EventArgs e) { string strFileName = "dd.ppt"; Response.ContentType = "application/x-.....
分类:
Web程序 时间:
2014-07-13 09:42:39
阅读次数:
521
1、错误描述
usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop }
2014-7-12 14:05:45 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded...
分类:
编程语言 时间:
2014-07-13 00:12:08
阅读次数:
563
组合设计模式,就是可以把多个类组合在一个大类中,形成一个树形结构。
#include
#include
#include
using namespace std;
class Coporate
{
protected:
string name;
set coporate;
public:
explicit Coporate(string n = "", string d...
分类:
其他好文 时间:
2014-07-12 19:12:55
阅读次数:
156
Description
Read the statement of problem G for the definitions concerning trees. In the following we define the basic terminology of heaps. A heap is a tree whose internal nodes have each assigned...
分类:
其他好文 时间:
2014-07-12 18:52:12
阅读次数:
285
internal
声明类、类成员、接口或接口成员具有内部可见性。
internal 修饰符使类、接口或成员仅在当前包中可见。 当前包之外的代码不能访问 internal 成员。只有在同一程序集的文件中,内部类型或成员才是可访问的
在全局范围内,internal 修饰符与 public 修饰符相同。
不能将 internal 修饰符与其他任何可见性修饰符(public、private 或...
分类:
其他好文 时间:
2014-07-12 18:38:38
阅读次数:
228
最近遇到了TreeView的数据库绑定问题,确实是弄了我好几天,特别是多级节点的分步绑定,最开始不分步,发现全部加载页面都卡爆了,真心让人头疼。所以放出来,给需要的朋友看看,以免大家走冤枉路。
1.只有一级节点的数据表绑定
部分代码:
protected void treeviewbind()
{
string sqlstr=ConfigurationMan...
分类:
其他好文 时间:
2014-07-12 18:37:59
阅读次数:
294
Vibrator public class MainActivity extends Activity { private Vibrator vibrator; @Override protected void onCreate(Bundle savedInstanceState)...
分类:
移动开发 时间:
2014-07-12 14:19:07
阅读次数:
236
一。成员内部类:与类的成员变量一样1可以加任意的修饰:private, protected,顶级类只可以为public, default2内部类不可脱离其外部类的限制使用,因此在外部类以外创建内部类要这样:outerObject=new outerClass(Constructor Paramete...
分类:
其他好文 时间:
2014-07-12 14:01:01
阅读次数:
191