码迷,mamicode.com
首页 >  
搜索关键字:cpp    ( 13186个结果
算法导论第11章散列表11.1直接寻址表
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
cocos2d-x安卓应用启动调用过程简析
调用org.cocos2dx.cpp.AppActivityAppActivity是位于proj.android/src下的开发者类(即开发者自定义的类),它继承自org.cocos2dx.lib.Cocos2dxActivity,在项目生成后它没有添加任何代码,纯粹是一个Cocos2dxActiv...
分类:移动开发   时间:2015-02-11 18:17:25    阅读次数:215
c++之 socket 通信
下面代码转自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
APUE_1.10ReadCommandsFromStandardInputAndExecuteThem
使用信号捕抓ctrl + c信号/* * 1.10ReadCommandsFromStandardInputAndExecuteThem.cpp * * Created on: Feb 11, 2015 * Author: sunyj */ #include "../apuesunyj.h" #in...
分类:其他好文   时间:2015-02-11 14:14:58    阅读次数:139
利用签名机制进行程序自检——Android防破解
自检程序写在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
APUE_1.8DemonstrateStrerrorAndPerror
/* * 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
APUE_1.6PrintTheProcessID
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
boost 实现http断点续传
// 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
APUE_1.5CopyStandardInputToStandardOutputUsingStandardIO
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
APUE_1.4CopyStandardInputToStandardOutput
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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!