Imagine a (literal) stack of plates. If the stack gets too high, it might topple. Therefore, in real life, we would likely start a new stack when the ...
分类:
其他好文 时间:
2014-07-12 08:24:00
阅读次数:
258
Imagine a (literal) stack of plates. If the stack gets too high, it might topple. Therefore, in real life, we would likely start a new stack when the ...
分类:
其他好文 时间:
2014-07-12 08:23:16
阅读次数:
231
Imagine a (literal) stack of plates. If the stack gets too high, it might topple. Therefore, in real life, we would likely start a new stack when the ...
分类:
其他好文 时间:
2014-07-12 08:22:39
阅读次数:
181
今天在做网上商城的商品显示,想用网格布局,可是总觉得空空的不好看,所以就想着给它加个网格线,可是遇到问题了,网格布局其实很简单,就是设置GridView布局的背景色和adapter引用的布局设背景色。我的设置如下:
1
2
3
4
5
6
7
8
9
android:id="@+id/gv_group" andro...
分类:
其他好文 时间:
2014-07-11 00:49:04
阅读次数:
591
在一个项目中,需要查询表tr_product中的user_id字段,如果user_id相同,则把其对应的money字段相加,数据库截图如下:
实现代码:
$Model = D('Model');
$res =$Model->query("SELECT user_id,sum(money) from tr_order GROUP BY user_id");
结果:
array (siz...
分类:
Web程序 时间:
2014-07-11 00:08:04
阅读次数:
293
在对话框初始化过程中将设备通知消息注册到winproc中
//Register to receive notification when a USB device is plugged in.
broadcastInterface.dbcc_size =sizeof(DEV_BROADCAST_DEVICEINTERFACE);
broadcastInterface.dbcc_devicet...
分类:
其他好文 时间:
2014-07-10 21:49:41
阅读次数:
338
linux生成动态库时遇到了relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC错误。
由于我的系统是AMD64位的,所以需要在编译的时候添加 -fPIC选项
解决方法:
例如:
g++ -c -fPIC head.cpp ...
分类:
系统相关 时间:
2014-07-10 21:02:04
阅读次数:
16872
题目链接:
点我点我
题目:
An Awful Problem
Time Limit: 1 Second Memory Limit: 32768 KB
In order to encourage Hiqivenfin to study math, his mother gave him a sweet candy when the day of the mo...
分类:
其他好文 时间:
2014-07-10 19:29:30
阅读次数:
315
linux文件和目录权限的设置修改文件权限如果想改变文件或目录的权限,可以使用chmod命令,改变文件或目录的权限有两种方法:助记法和八进制法。·助记法:语法:使用u(user)、g(group)、o(other)、a(all)表示要设置权限的位置,使用+表示添加、使用-表示减少权限、使用=表示设..
分类:
系统相关 时间:
2014-07-10 18:33:06
阅读次数:
268
AudioServices
Jump to:
navigation,
search
AudioServices is a group of C functions in
AudioToolbox for playing short (≤30 seconds) sounds.
Predefined sounds
There are some predefined system s...
分类:
移动开发 时间:
2014-07-10 17:29:49
阅读次数:
396