1 /* 2 * IA_11.1DirectAddressTables.cpp 3 * 4 * Created on: Feb 11, 2015 5 * Author: sunyj 6 */ 7 #include 8 #include 9 #include 10 // D...
分类:
编程语言 时间:
2015-02-11 20:31:23
阅读次数:
401
调用org.cocos2dx.cpp.AppActivityAppActivity是位于proj.android/src下的开发者类(即开发者自定义的类),它继承自org.cocos2dx.lib.Cocos2dxActivity,在项目生成后它没有添加任何代码,纯粹是一个Cocos2dxActiv...
分类:
移动开发 时间:
2015-02-11 18:17:25
阅读次数:
215
下面代码转自CSDN:服务器:// Server.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include "winsock2.h"#pragma comment(lib, "ws2...
分类:
编程语言 时间:
2015-02-11 14:23:06
阅读次数:
211
使用信号捕抓ctrl + c信号/* * 1.10ReadCommandsFromStandardInputAndExecuteThem.cpp * * Created on: Feb 11, 2015 * Author: sunyj */ #include "../apuesunyj.h"
#in...
分类:
其他好文 时间:
2015-02-11 14:14:58
阅读次数:
139
自检程序写在so里
主要代码
在文件头中导入
#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID)
#include
#include
#include
#include
#endif
然后在cpp中写入Java调用c的接口
#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID)
extern "C"...
分类:
移动开发 时间:
2015-02-11 12:46:58
阅读次数:
201
/* * 1.8DemonstrateStrerrorAndPerror.cpp * * Created on: Feb 11, 2015 * Author: sunyj */ #include "../apuesunyj.h" int main(int argc, char *argv[])
{ ...
分类:
其他好文 时间:
2015-02-11 12:42:32
阅读次数:
112
1 /* 2 * 1.6PrintTheProcessID.cpp 3 * 4 * Created on: Feb 11, 2015 5 * Author: sunyj 6 */ 7 8 #include "../apuesunyj.h" 9 10 int main(voi...
分类:
其他好文 时间:
2015-02-11 09:14:44
阅读次数:
122
// testc.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include #include #include using boost::asio::ip::tcp...
分类:
Web程序 时间:
2015-02-10 21:31:25
阅读次数:
221
1 /* 2 * 1.5CopyStandardInputToStandardOutputUsingStandardIO.cpp 3 * 4 * Created on: Feb 10, 2015 5 * Author: sunyj 6 */ 7 8 #include ".....
分类:
其他好文 时间:
2015-02-10 21:27:50
阅读次数:
427
1 // CopyStandardInputToStandardOutput.cpp 2 #include "../apuesunyj.h" 3 4 #define BUFFSIZE 4096 5 6 int main(void) 7 { 8 int n; 9 char buf...
分类:
其他好文 时间:
2015-02-10 20:15:52
阅读次数:
180