代码示例:1、按钮组的配置方式是按照buttongrouptable进行布局的,columns可以多少行,colspan跨几行,所以在布局的时候注意;2、在buttonggroup中,scale:'large'表示图标的大小;3、iconAlign:可以定义按钮所在的位置,上面或下面4、new Ex...
分类:
其他好文 时间:
2014-07-22 00:36:33
阅读次数:
251
android SDK更新到23.0.2后创建新项目无法创建MainActivity和默认布局,这个时候就需要更新ADT到23.0.2 更新时报如下错误 Your original request has been modified. "Android DDMS" is already installed, so a...
分类:
移动开发 时间:
2014-07-21 10:25:58
阅读次数:
323
在将一个fragment替换到一个frameLayout的时候报错:code: transaction.replace(R.id.fragment_container, fragment2);错误: java.lang.IllegalStateException: The specified chi...
分类:
其他好文 时间:
2014-07-21 08:03:10
阅读次数:
217
#include
#include
#include
using namespace std;
struct node
{
int x,y,step;
};
char map[105][105];
int vis[105][105];
int to[4][2]= {1,0,-1,0,0,1,0,-1};
int n,m,sx,sy,ex,ey,ans;
int check(in...
分类:
其他好文 时间:
2014-07-19 23:11:19
阅读次数:
330
Windows环境下用C#编程将文件上传至阿里云OSS笔记本系列文章由ex_net(张建波)编写,转载请注明出处。http://blog.csdn.net/ex_net/article/details/24962567作者:张建波 邮箱:281451020@qq.com 欢迎来信交流!第1步: 下....
Stars
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 4402 Accepted Submission(s): 1748
Problem Description
Astronomers often ex...
分类:
其他好文 时间:
2014-07-19 18:27:18
阅读次数:
197
刚学习的扩展欧几里得算法,刷个水题
求解 线性不定方程 和 模线性方程
求方程 ax+by=c 或 ax≡c (mod b) 的整数解
1、ax+by=gcd(a,b)的一个整数解:
void ex_gcd(int a,int b,int &d,int &x,int &y)//扩展欧几里得算法
{
if(!b){d=a;x=1;y=0;}
else {ex_gcd(...
分类:
其他好文 时间:
2014-07-19 18:26:00
阅读次数:
226
1 LL Ex_GCD(LL a,LL b,LL &x,LL& y) 2 { 3 if(b==0) 4 { 5 x=1; 6 y=0; 7 return a; 8 } 9 LL g=Ex_GCD(b,a%b,x,y);...
分类:
其他好文 时间:
2014-07-19 17:04:57
阅读次数:
249
在Windows下使用mysql API或者WinSock API的时候,需要包含#include 。 编译的时候就会遇到标题所示的问题。 一般最简单的坚决办法是:在包含WinSock2.h之前包含其它的。 可以双击这条报错语句,然后看看是哪个头文件报错了,一般情况下是,就在WinSock2.h之前...
分类:
移动开发 时间:
2014-07-19 13:29:43
阅读次数:
277
下面讲的是一个意思:The problem is that the next control in the tab order following the last radiobutton of your group must have the WS_GROUP flag set.1:ex:Cont...
分类:
其他好文 时间:
2014-07-19 09:27:10
阅读次数:
176