码迷,mamicode.com
首页 >  
搜索关键字:int end    ( 170472个结果
c++访问mysql数据库
首先,把mysql目录下的include放到项目目录下,然后把libmysql.lib和libmysql.dll放到debug目录下。#include之前一定要加上#include否则会产生编译错误。#include "stdafx.h"#include #include "include\mysq...
分类:数据库   时间:2014-04-30 18:37:44    阅读次数:413
Rest文件下载
public void DownloadFile(string fileId) { //Stream fileStream = null; try { int fileID = Conve...
分类:其他好文   时间:2014-04-30 18:11:52    阅读次数:443
java.lang.IllegalStateException: Expected a string but was BEGIN_ARRAY at line 1 column 296
先贴代码public class ListDataRequest extends JsonRequest> {public ListDataRequest(int method, String url,Map contentBody, Listener> listener, ErrorListene...
分类:编程语言   时间:2014-04-30 17:32:30    阅读次数:740
sublime text 3 语法检查插件
第一种方法:有点卡先去下载对应的开发环境,安装到本地,例如php。从Pakage Control中安装sublimelinter和sublimelinter-*,*为所用的语言,例如sublimelinter-php,不需要做其他配置,直接即可使用。这下各种方便,可以丢弃ide了。第二种方法:在编译...
分类:其他好文   时间:2014-04-30 17:20:19    阅读次数:1118
事务隔离级别温习
脏读 一个事务读取到了另一个事务未提交的数据操作结果。这个未提交的事务有可能被回滚。不可重复读 一个事务对同一行数据重复读取两次,但是却得到了不同的结果。包括以下情况: (1) 事务T1读取某一数据后,事务T2对其做了修改,当事务T1再次读该数据时得到与前一次不同的值。 (2) 幻读(Phant.....
分类:其他好文   时间:2014-04-30 14:40:39    阅读次数:388
hdu 1576
模线性方程的基本应用#includeusing namespace std;int exgcd(int a,int b,int &x,int &y){ if(b==0) { x=1; y=0; return a; } int d=ex...
分类:其他好文   时间:2014-04-30 14:33:27    阅读次数:326
tintColor 与 UIImage.renderingMode 渲染
在iOS7中,UIView新增了一个属性tintColor.这是一个UIColor,被使用在UIView中改变应用程序的外观的。默认tintColor的值为nil,这表示它将会运用父视图层次的颜色来进行着色。如果父视图中没有设置tintColor,那么默认系统就会使用蓝色。因此,可以通过设置root...
分类:其他好文   时间:2014-04-30 14:30:22    阅读次数:403
输入与enter
#includeusing namespace std;int main(){ char a,b,c; while(scanf("%c%c%c",&a,&b,&c)!=EOF) { getchar(); cout<<a<<b<<c<<endl; } retur...
分类:其他好文   时间:2014-04-30 14:00:36    阅读次数:346
D3 API总览
学习外国的框架,零零星星和点点滴滴是不行的,还是要有一个高屋建瓴总揽全局的看法,所以就看看D3都有哪些方法。core:selection, transition, arrays, math, loading external resources, string formatting, csv for...
分类:Windows程序   时间:2014-04-30 13:54:23    阅读次数:656
char*,string,float,int 转换
char* 转 float:double atof (const char* str);/* atof example: sine calculator */#include /* printf, fgets */#include /* atof */#include ...
分类:其他好文   时间:2014-04-30 13:44:13    阅读次数:410
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!