重写继承方法与非重写继承方法的区别:c#:using System;using System.Collections.Generic;using System.Text;namespace Test1{ class A { public virtual void Func1...
分类:
其他好文 时间:
2015-11-10 12:23:21
阅读次数:
283
1.[文件]User.java~243B 12345678910111213141516class User{private int id;private String name;public int getId() {return id;}public void setId(int id) {t....
分类:
Web程序 时间:
2015-11-10 12:19:51
阅读次数:
404
服务器接收客户端请求:request服务器对客户端的回应:responsejavax.servlet.http的接口HttpServletResponse extends ServletResponse重要方法:void addCookie(Cookiecookie):向客户端增加cookievoi...
分类:
Web程序 时间:
2015-11-10 12:19:05
阅读次数:
255
Iterable(lang)-->Iterator(util)-->ListIterator(util) method: 1.void add(E o) 2.boolean hasNext() //正向遍历 3.boolean hasPrvious() //反向遍历 ...
分类:
其他好文 时间:
2015-11-10 12:15:16
阅读次数:
195
public delegate void eventHandler(params object[] objs);
void main() { int i,arr[6]={1,2,3,4,5,6}; for(i;i<6;i++) { printf("%d\n",*(arr+i)); } }输出结果时候123456
分类:
编程语言 时间:
2015-11-10 10:41:15
阅读次数:
169
private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e){ WebBrowser WebCtl = webB...
#import "NotificationClass.h"#import "AnotherNotificationClass.h"@implementation NotificationClass//注册通知-(void)addNotification{ [[NSNotificationCente....
分类:
其他好文 时间:
2015-11-10 09:21:52
阅读次数:
252
构造一个函数,是在startPoint,endPoint间画一条带箭头的线段:void CTry1View::DrawLine(POINT startPoint, POINT endPoint){CClientDC dc(this);dc.MoveTo(startPoint);dc.LineTo(e...
分类:
编程语言 时间:
2015-11-10 09:20:04
阅读次数:
769
1 基本解释:extern可以置于变量或者函数前,以标示变量或者函数的定义在别的文件中,提示编译器遇到此变量和函数时在其他模块中寻找其定义。此外extern也可用来进行链接指定。 也就是说extern有两个作用,第一个,当它与"C"一起连用时,如: extern "C" void fun(int a...
分类:
编程语言 时间:
2015-11-10 01:29:56
阅读次数:
222