z = $.ajax({url:"__URL__/add/",type:'POST',dataType:"json",async:false,cache:false,data:"step=ajax&ajax_type=checkEmail&email="+email,}).responseText;...
分类:
Web程序 时间:
2014-07-22 23:05:52
阅读次数:
374
undefined reference to error解决方法
Linux下编译程序时,经常会遇到“undefined reference error” 报错,
这里总结一些可能的原因和解决方案,给需要的朋友:
说道undefined reference error,先提一下Linux gcc链接规则:
链接的时候查找顺序是:...
分类:
其他好文 时间:
2014-07-22 23:05:33
阅读次数:
361
AF解析json出错:
Error Domain=NSCocoaErrorDomain Code=3840 "The operation couldn’t be completed. (Cocoa error 3840.)"
(JSON text did not start with array or object and option to allow fragments not set....
分类:
其他好文 时间:
2014-07-22 23:04:13
阅读次数:
400
与VB相比,VB.NET在错误处理上也有了很大的改进,下面来谈一谈异常处理和及其用于捕捉错误的有效的编程方法。
On Error语句
VB.NET仍然包含了VB中的On Error语句,当考虑全局错误处理的时候,可以采用这种方法。下面是实例
On Error GoTo errorhandler
Dim intx As Integer...
分类:
Web程序 时间:
2014-07-22 23:03:12
阅读次数:
378
The server network address “TCP://myserverAddress:50221″ cannot be reached or does not exist.
Check the network address name and that the ports for the local and remote endpoints are operational.
(Microsoft SQL Server, Error: 1418)...
分类:
Web程序 时间:
2014-05-01 18:35:53
阅读次数:
665
--------------------------------------------------
typedef声明,简称typedef,为现有类型创建一个新的名字,或称为类型别名,在结构体定义,还有一些数组等地方都大量的用到。
它有助于创建平台无关类型,甚至能隐藏复杂和难以理解的语法 。使用typedef可编写出更加美观和可读的代码。所谓美观,意指typedef能隐藏笨拙的语法构造以...
分类:
其他好文 时间:
2014-05-01 17:28:24
阅读次数:
308
.h
Text* _displayValueLabel;
void selectedEvent(Ref* pSender,CheckBoxEventType type);
.cpp init()函数
_touchGroup = Layer::create();
addChild(_touchGroup);
Size winSize = ...
分类:
其他好文 时间:
2014-05-01 17:18:48
阅读次数:
453
在MVC中我们可以很轻松的根据项目需求进行必要的信息转换,如设置默认的日期格式,自定义String类型的格式等等。。。
配置中我们需要自定义converseService:
class="org.springframework.context.support.ConversionServiceFactoryBean">
然后在:使用自定义的converse...
分类:
编程语言 时间:
2014-05-01 17:18:11
阅读次数:
311
代码:
if((server_fd = accept(sockfd,(struct sockaddr *)&server_addr, &sin_size)) == -1)
{
fprintf(stderr, "Accept error:%s\n\a", strerror(errno));
exit(1);...
分类:
其他好文 时间:
2014-04-30 22:21:38
阅读次数:
765
header("Content-type:text/html; charset=utf-8");
function getToken($url){
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,$url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
//相当关键,这句话是...
分类:
Web程序 时间:
2014-04-30 22:16:40
阅读次数:
373