1.同步GET (联网检测)+(BOOL)checkConnect{ // 初始化请求 NSMutableURLRequest *request = [[NSMutableURLRequest alloc] init]; NSString *url=[NSString st...
分类:
移动开发 时间:
2014-09-09 10:27:48
阅读次数:
332
namespace Microshaoft{ using System; using System.Collections.Concurrent; using System.Diagnostics; using System.Threading; internal st...
分类:
其他好文 时间:
2014-09-08 00:56:16
阅读次数:
368
很多人都碰到过调试器不能连接到STM32的问题,不管是IAR的J-Link还是Keil的ULink,或者是ST的ST-Link。出现这个问题时,调试软件会提示不能建立与Cortex-M3的连接,或提示不能下载程序,或提示找不到要调试的设备等。这样的问题都是发生在调试那些可以在CPU不干预的时候自.....
分类:
其他好文 时间:
2014-09-07 23:45:26
阅读次数:
264
感觉可以用BFS撸,然后就撸了,样例无限不过,代码能力真是弱。。#include #include #include #include #include using namespace std;const int bufsize = 128;char buf[bufsize][bufsize];st...
分类:
其他好文 时间:
2014-09-07 20:59:35
阅读次数:
320
-----------android培训、java培训、java学习型技术博客、期待与您交流!------------package com.itheima.example;/*StringBuffer* 字符串的组成原理就是通过该类实现的* StringBuffer可以对字符串内容进行增减* St...
分类:
其他好文 时间:
2014-09-07 01:04:14
阅读次数:
206
#include#includeint main(void){ char a[100],b[100];//数组a和b存放两大数 char c[200];//数组c存放运算结果 int i,j,t; int p; int w; for(i=0;i=0;i--) { p=t; for(j=st...
分类:
其他好文 时间:
2014-09-06 13:39:43
阅读次数:
208
Description
There are n walruses standing in a queue in an airport. They are numbered starting from the queue's tail: the
1-st walrus stands at the end of the queue and the
n-th walrus stands at...
分类:
其他好文 时间:
2014-09-05 19:56:51
阅读次数:
292
-bash-3.00# ntpq -p remote refid st t when poll reach delay offset disp==============================================================================*...
分类:
其他好文 时间:
2014-09-05 17:48:31
阅读次数:
1534
using (Entities entities = new Entities()){ var query = from st in entities.ShiTi select st; ObjectQuery oq = query as ObjectQuery; string sql = oq.To...
分类:
数据库 时间:
2014-09-05 14:12:21
阅读次数:
191
Hibernate中的抓取策略,参考文档:http://docs.jboss.org/hibernate/orm/3.5/reference/zh-CN/html/performance.html如下代码:@SuppressWarnings({ "unchecked" }) public st...
分类:
系统相关 时间:
2014-09-05 14:10:41
阅读次数:
201