Creating custom validators is easy, just create a class inject AbstractControl. Here is the form we want to validate it: We put two custom validators ...
分类:
其他好文 时间:
2017-04-13 09:03:00
阅读次数:
211
他山界面开发框架OHUI v29.0.1产品介绍 他山界面开发框架V29.0.1(Other Hill Gui Development Framework),以下简称OHUI,在firefox 29.0基础上修改而成, 开发者可先在ff29.0上开发web,最后再用OHUI加载即可。支持ff29.0 ...
分类:
其他好文 时间:
2017-04-13 09:02:42
阅读次数:
722
Ivan is fond of collecting. Unlike other people who collect post stamps, coins or other material stuff, he collects software bugs. When Ivan gets a ne ...
分类:
其他好文 时间:
2017-04-12 18:49:50
阅读次数:
227
Prosperity discovers vice, adversity virtue. 得意时露瑕疵,逆境中见品质。 Adversity will discover your virtue, not produce your virtue. It is through your own exerc ...
分类:
其他好文 时间:
2017-04-12 11:21:32
阅读次数:
144
1 什么是进程,线程 进程: 进程是程序执行的一个实例。它是一个动态的概念。比如说,10个用户同时执行IE,那么就有10个独立的进程(尽管他们共享同一个可执行代码)。 进程的特点: 每一个进程都有自己的独立的一块内存空间(独立的堆和栈,不共享堆栈)、一组资源系统。进程由操作系统调度, 进程间的切换会 ...
分类:
编程语言 时间:
2017-04-12 11:06:35
阅读次数:
305
String::String(const String &other){ // 得分点:输入参数为const型 int length = strlen(other.m_data); m_data = new char[length+1]; //加分点:对m_data加NULL 判断 strcpy(m ...
分类:
其他好文 时间:
2017-04-12 04:36:56
阅读次数:
145
String & String::operator =(const String &other){ // 得分点:输入参数为const型 if(this == &other) //得分点:检查自赋值 return *this; delete [] m_data; //得分点:释放原有的内存资源 in ...
分类:
其他好文 时间:
2017-04-12 04:35:09
阅读次数:
157
【题目链接】click here~~ 【题目大意】: You are given string s. Your task is to determine if the given string s contains two non-overlapping substrings “AB” and “B ...
分类:
其他好文 时间:
2017-04-12 04:27:35
阅读次数:
164
I also hold a blog with thoughts of English learning. Get there >. It's a private blog. Actually, I am going to have a exam 3 weeks later. So I am wor ...
分类:
其他好文 时间:
2017-04-12 03:04:59
阅读次数:
132