MainActivity如下:
package cc.c;
import android.app.Activity;
import android.graphics.Bitmap;
import android.graphics.Matrix;
import android.graphics.drawable.BitmapDrawable;
import android.os.Bundle;
...
分类:
移动开发 时间:
2014-06-20 10:07:11
阅读次数:
265
MainActivity如下:
package cc.testnetworkchange;
import android.os.Bundle;
import android.app.Activity;
/**
* Demo描述:
* 利用广播监听设备网络连接的变化情况
* 亦可借此监测到设备是否已经断开网络
*/
public class MainActivity extends Act...
分类:
移动开发 时间:
2014-06-20 09:47:09
阅读次数:
334
step += 5; float ra = (float)
CC_DEGREES_TO_RADIANS(step); float i = sinf(ra) *
pNode->getCamera()->getZEye(); float j = cosf(ra) *
pNode->getCamera()...
分类:
其他好文 时间:
2014-06-06 21:58:49
阅读次数:
1731
package cc.c; import android.app.Activity;import
android.os.Bundle;import android.text.Selection;import
android.text.Spannable;import android.text.met...
分类:
移动开发 时间:
2014-06-06 14:57:36
阅读次数:
364
我们将要实现一个进行应用层DDoS攻击的工具,综合考虑,CC攻击是最佳选择。使用bash
shell脚本来快速实现并验证这一工具。在最后,将花费大量的笔墨来讨论如何防御来自应用层的DDoS攻击,描述了一个应对应用层DDoS攻击的防御状态机。访问
http://eecs.cc:8080/ 查看靶机状态...
分类:
其他好文 时间:
2014-06-05 22:12:03
阅读次数:
523
.h#include "cocos2d.h"#include
"cocos-ext.h"#include "ui/CocosGUI.h"#include
"cocostudio/CocoStudio.h"USING_NS_CC;USING_NS_CC_EXT;using namespace ui;R...
分类:
其他好文 时间:
2014-06-05 19:46:34
阅读次数:
287
//#include #pragma once#include
"cocos2d.h";#include "iconv\include\iconv.h"//#if (CC_TARGET_PLATFORM ==
CC_PLATFORM_WIN32) // 编译链接的时候指定静态库 //#pragm.....
分类:
其他好文 时间:
2014-06-05 19:25:43
阅读次数:
300
Programs for handling SQL commands. The "core" of
MySQL.These are the.cand.ccfiles in thesqldirectory:derror.cc --- read
language-dependent message fi...
分类:
数据库 时间:
2014-06-05 17:38:07
阅读次数:
362
感觉挺有用的一篇文章,分析了4种解决方案。回头测试之。如果有别的方案,我会在后面补上。原文地址:http://www.ifun.cc/blog/2014/02/21/dong-tai-ji-suan-uitableviewcellgao-du-xiang-jie/不知道大家有没有发现,在iOS
AP...
分类:
其他好文 时间:
2014-06-05 14:23:55
阅读次数:
348
#include"HelloWorldScene.h"
#include"MyLayer.h"
usingnamespacecocos2d;
CCScene*HelloWorld::scene()
{
CCScene*scene=NULL;
do
{
//‘scene‘isanautoreleaseobject
scene=CCScene::create();
CC_BREAK_IF(!scene);
//‘layer‘isanautoreleaseobject
HelloWorld*layer=HelloW..
分类:
移动开发 时间:
2014-06-02 07:53:45
阅读次数:
339