
简介
该用户还未填写简介
擅长的技术栈
未填写擅长的技术栈
可提供的服务
暂无可提供的服务
LinuxC/C++编程基础(31) 使用thrift/rpc开发简单实例(续3)
写在前面:本篇文字在前面几篇的基础上,做了很大部分深入的改动,但thrift/rpc的通信原理是一样的thrift-client的实现:一.thrift_pool类:1.TTransport类的创建,如下:shared_ptr ThriftPool::CreateConnection(const string ip, int port){ /*采用TCP Socke
actionscript与c/c++交互的简单编程实例
什么都不说了,直接上源码,alchemy的使用直接参考官方文档1. 声明一个头文件myutil.h,内容如下:#ifndef MYUTIL_H#define MYUTIL_H#include"AS3.h"namespace myworld{ class IO { public: static AS3_Val _Byt
C++实现敏感词过滤(2) Trie类的实现
三.Trie类的定义Trie.h:#include #include #include "TrieNode.h"class Trie {private:TrieNode __emptyRoot;int __pace;TrieNode* insert(TrieNode* parent, std::string& keyword);TrieNode* ins
到底了







