关于异步socket的代码,使用的是http://msdn.microsoft.com/zh-cn/library/system.net.sockets.socketasynceventargs(v=vs.110).aspx微软官方的资料,不是很清楚http://www.codeproject.co...
分类:
Web程序 时间:
2014-07-07 08:37:34
阅读次数:
298
1 #include 2 using namespace std; 3 int main(){ 4 int a,n,g,i=1; 5 cin>>a>>n; 6 while(cin>>g){ 7 if(i>n||ga)13 co...
分类:
其他好文 时间:
2014-07-06 23:39:23
阅读次数:
243
免费的PHP空间:http://www.hostinger.co.uk/hostinger是一个免费的PHP空间,不仅100%完全免费而且还没有广告,提供2G物理空间和100GMysql空间可以一键安装Wordpress, Joomla, PrestaShop, phpBB, Drupa等应用程序,...
分类:
Web程序 时间:
2014-07-06 22:17:08
阅读次数:
215
Looks like your app is ONLY available in Thailand storefront - so the lookup should include country code in the base lookup URL:http://itunes.apple.co...
分类:
移动开发 时间:
2014-07-06 15:28:03
阅读次数:
547
问题:无法访问developer.android.com,就无法知道Android的最新信息。
解决办法:寻找国外的代理ip,比如http://www.xici.net.co/上面的国外代理ip。
设置方法:以谷歌浏览器(Chrome)为例。
step1:点击“设置”。
step2:点击“显示高级设置”。
step3:点击“网络”标签下的“更改代理...
分类:
移动开发 时间:
2014-07-06 10:36:36
阅读次数:
285
function onDetail(contextKey) { document.getElementById('').style.display = 'inline'; var behavior = $find(""); if (behavior) { behavior.populate(co.....
分类:
其他好文 时间:
2014-07-05 20:38:30
阅读次数:
243
Rack:ruby webserver框架https://rack.github.io/文件上传使用基于tempfile 库文件上传要经历两个过程:1、上传文件传到opennebule sunstone-server的临时目录,临时目录配置文件时/etc/one/sunstone-server.co...
分类:
其他好文 时间:
2014-07-05 17:36:55
阅读次数:
181
由于设置了监听器,所以在项目启动时首先进入com.alibaba.citrus.webx.context.WebxContextLoaderListener,此类继承于ContextLoaderListener,所以首先执行WebxContextLoaderListener的contextInitialized方法。
createContextLoader()是一个很重要的过程,剩下工作都由co...
分类:
Web程序 时间:
2014-07-04 06:57:01
阅读次数:
406
http://blog.csdn.net/honey_claire/article/details/7658490http://bbs.csdn.net/topics/300212131http://bbs.csdn.net/topics/390693892http://www.aa25.cn/co...
分类:
编程语言 时间:
2014-07-03 20:30:00
阅读次数:
238
题目:993 - Product of digits
题目大意:将一个数通过因式分解变成另一个由因子组成的最小的数。
解题思路:因为要组成数,所以因子只需要从 2 - 9,又因为需要最小的数,所以因式分解从最大的因子开始,这样位数最少,最后输出从最小的因子输出,保证最小。1的话需要特判,因为所有的数都有因子1.
代码:
#include
#include
co...
分类:
其他好文 时间:
2014-07-03 18:21:51
阅读次数:
155