码迷,mamicode.com
首页 >  
搜索关键字:flag    ( 5253个结果
数组,冒泡排序,简化
// int array[] = {3, 2, 6, 9, 8, 5, 7, 1, 4}; // int count = sizeof(array) / sizeof(array[0]); // int flag = 1; // for (int i = 0; i array[j ...
分类:其他好文   时间:2014-08-19 00:54:43    阅读次数:186
HDU 4956 Poor Hanamichi
HDU Poor Hanamichi 题目链接 思路:直接从l往上找判断即可 代码: #include #include #include #include using namespace std; typedef long long ll; int t; ll l, r; bool judge(ll num) { ll flag = 1; l...
分类:其他好文   时间:2014-08-17 22:49:22    阅读次数:238
xcode引入第三方静态类库 duplicate symbol _OBJC_XXX 重复编译错误
xcode引入第三方静态类库 duplicate symbol _OBJC_XXX 重复编译错误一:场景 xcode 同时引入了 libA.a, libB.a 两个静态类库,如果 这两个静态类库之中,都打包了,相同的库,方法之类的, 且 xcode 的other link flag 为 -a...
分类:其他好文   时间:2014-08-17 15:26:32    阅读次数:173
Live555 中的客户端动态库.so的调用方式之一 程序中调用
1. 打开动态链接库: #include void *dlopen(const char *filename, int flag); 该函数返回操作句柄,如: void *pHandle = dlopen(strSoFilePath, RTLD_LAZY);2. 取动态对象地址: #include....
分类:其他好文   时间:2014-08-16 19:42:30    阅读次数:155
Android getWindow().setFlags方法
//设置窗体全屏getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);//设置窗体始终点亮getWindow().setFlags(Wi...
分类:移动开发   时间:2014-08-16 19:38:20    阅读次数:418
$#,$?,$!等说明
变量说明: $$ Shell本身的PID(ProcessID) $! Shell最后运行的后台Process的PID $? 最后运行的命令的结束代码(返回值) $- 使用Set命令设定的Flag一览 $* 所有参数列表。如"$*"用「"」括起来的情况、以"$1 $2 … $n"的形式输出所有参数。 $@ 所有参数列表。如"$@"用「"」括起来的情况、以"$1" "$2" …...
分类:其他好文   时间:2014-08-16 12:38:10    阅读次数:184
生成并返回 json 结果文件
#region 生成并返回 json 结果文件/// /// 生成并返回 json 结果文件/// /// 主内容/// 其它参数/// 标志/// 结果/// public static string BackJson(string flag, string json, string mess){...
分类:Web程序   时间:2014-08-15 19:18:59    阅读次数:179
Android回想录之通知栏
通知栏 设置提醒标志符Flags功能:提醒标志符,向通知添加声音、闪灯和振动效果等设置达到通知提醒效果,可以组合多个属性使用方法(其一):Notification notify = mBuilder.build();notify.flags = Notification.FLAG_AUTO_CANC...
分类:移动开发   时间:2014-08-15 19:13:19    阅读次数:2231
android 主题变换(不是亮度改变)
Intent intent1 = getIntent(); overridePendingTransition(0, 0); intent1.addFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION); finish(); overridePendingTransition(0, 0); startActivity(intent1); ...
分类:移动开发   时间:2014-08-15 14:40:18    阅读次数:224
MSP430之频率测量,误差1Hz
1 #include "timerHz.h" 2 #include "msp430g2553.h" 3 4 #define _DEBUG_TIMERHZ_ 5 6 unsigned int capArray[16] = {0}; 7 unsigned char index = 2, flag ...
分类:其他好文   时间:2014-08-14 16:10:28    阅读次数:277
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!