2014年10月14日
摘要: NSArray中存储的是实体时的排序by 伍雪颖NSSortDescriptor *sortDescriptor1 = [NSSortDescriptor sortDescriptorWithKey:@"distanceValue" ascending:YES];NSArray *tempArray... 阅读全文
posted @ 2014-10-14 21:20 gcczhongduan 阅读(182) 评论(0) 推荐(0)
摘要: 微软的Exchange邮件服务不同与一般的邮件server,他不能简单使用SmtpClient等组件实现邮件收发的功能。那么怎么通过Exchange服务发送邮件呢?微软的Exchange服务都有webservice接口, 通过其提供的webservice发送邮件也是最简单的方法。验证Exchange... 阅读全文
posted @ 2014-10-14 19:58 gcczhongduan 阅读(2994) 评论(0) 推荐(0)
摘要: 下面是从网上找到的关于堆空间溢出的错误解决的方法:java.lang.OutOfMemoryError: Java heap space ===================================================使用Java程序从数据库中查询大量的数据时出现异常:java... 阅读全文
posted @ 2014-10-14 19:15 gcczhongduan 阅读(141) 评论(0) 推荐(0)
摘要: 建立TCP须要三次握手才干建立,而断开连接则须要四次握手。整个步骤例如以下图所看到的:先来看看怎样建立连接的。首先Client端发送连接请求报文,Server段接受连接后回复ACK报文,并为这次连接分配资源。Client端接收到ACK报文后也向Server段发生ACK报文,并分配资源,这样TCP连接... 阅读全文
posted @ 2014-10-14 17:35 gcczhongduan 阅读(192) 评论(0) 推荐(0)
摘要: 今天在本地机直接在触发器里更新还有一台服务器数据时出现: MSDTC不可用解决的方法:在windows控制面版-->管理工具-->服务-->Distributed Transaction Coordinator-->属性-->启动 1.A.不用事务,关用SELECT 语句.能否够分布式查询? B.L... 阅读全文
posted @ 2014-10-14 16:23 gcczhongduan 阅读(158) 评论(0) 推荐(0)
摘要: DescriptionByteman, one of the most deserving employee of The Goldmine of Byteland, is about to retire by the end of the year. The Goldmine management... 阅读全文
posted @ 2014-10-14 14:55 gcczhongduan 阅读(179) 评论(0) 推荐(0)
摘要: ``Accordian'' PatienceYou are to simulate the playing of games of ``Accordian'' patience, the rules for which are as follows:Deal cards one by one in ... 阅读全文
posted @ 2014-10-14 14:15 gcczhongduan 阅读(209) 评论(0) 推荐(0)
摘要: Given a linked list, remove thenthnode from the end of list and return its head.For example, Given linked list: 1->2->3->4->5, and n = 2. After re... 阅读全文
posted @ 2014-10-14 13:36 gcczhongduan 阅读(146) 评论(0) 推荐(0)
摘要: Frame Relay如今越来越不流行了,只是在过去的设计中被广泛应用。所以工作上还是能常常见到的, 这篇博文从二层简单总结下FR的一些概念在介绍Frame Relay之前,先了解下广播介质和非广播介质的差别:Broadcast Media (广播介质): Ethernet 、 Token-Ring... 阅读全文
posted @ 2014-10-14 12:19 gcczhongduan 阅读(1468) 评论(0) 推荐(0)
摘要: 基本输入输出5.1基本输出print XXX //同一行输出println XXX //换行输出输出字符串:def message ="My name is Michael"println("here is :"+${message})输出列表和映射def numbers =[11,12,13,14... 阅读全文
posted @ 2014-10-14 10:39 gcczhongduan 阅读(459) 评论(0) 推荐(0)
摘要: 如图,这个错误使无数玩家烦恼。 出现这个错误,可能是硬件的问题,也可能是软件的问题。可是,因为硬件引起该问题的概率非常小,而且除了更换硬件之外没有更好的解决方法,因此本文将具体介绍怎样通过软件解决此问题,这也是大家最关心的。大致介绍一下这个错误是怎样发生的。这个错误的本意是提示内存错误,可是通常情... 阅读全文
posted @ 2014-10-14 09:53 gcczhongduan 阅读(137) 评论(0) 推荐(0)
摘要: --======================================================--SQL基础-->层次化查询(START BY ... CONNECT BY PRIOR)--==============================================... 阅读全文
posted @ 2014-10-14 09:10 gcczhongduan 阅读(237) 评论(0) 推荐(0)