- 博客(6)
- 资源 (6)
- 收藏
- 关注
原创 Windows平台使用NDK编写在Android上运行的C/C++标准程序
1、下载android-ndk,假设下载的版本是android-ndk-r14b,解压电脑G:\android-ndk-r14b;2、在电脑环境变量的path中增加G:\android-ndk-r14b路径3、打开命令行执行ndk-build -v 有版本信息输出表示配置正确4、在G盘建立文件夹TestJNI(名称随便取),进入TestJNI文件夹建立文件夹jni(名称必须是这个),
2017-12-19 16:05:46
573
原创 windows 下多socket连接(二)
在window下使用select实现多socket的连接修订版本// WeChat.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include #include #include #pragma comment(lib
2017-08-02 14:46:11
579
原创 window多socket的连接
本文主要是看代码,透过代码理解window下多连接的思想// WeChat.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include #include #include #pragma comment(lib, "w
2017-07-18 14:35:55
254
原创 window socket多连接的实现
直接上代码,代码可能不完美,主要是透过代码理解多连接的思想:// WeChat.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include #include #include #pragma comment(lib,
2017-07-18 14:31:25
396
原创 linux 模块编译实例
linux 模块编译直接开始吧,手把手开始,能够成功运行,有一个直观的认识第一步:准备源代码假设我们有一个源文件testmod.c。它的源码如下:#include /* 引入与模块相关的宏 */#include /* 引入module_init() module_exit()函数 */MODULE_AUTHO
2017-05-31 15:14:23
462
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人