会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
byfei
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
4
5
6
7
8
9
10
11
12
···
95
下一页
2019年9月9日
[手游项目4]大小单双,开奖算法
摘要: //投注类型定义enum enBetEnum{ //大 eTenThousandBig = 1, // 万位 eThousandBig = 2, // 千位 eHundredBig = 3, // 百位 eTenBig = 4, // ...
阅读全文
posted @ 2019-09-09 18:02 byfei
阅读(308)
评论(0)
推荐(0)
2019年8月29日
[手游项目4]C++封装的排行榜管理
摘要: 设计思想,部分代码 //排行榜类class CRanking{ vector m_ItemList; //保存所有的列表}//排行榜管理类vector m_RankingList; //排行榜的列表这个排行榜的核心就是数据变动后的自动排...
阅读全文
posted @ 2019-08-29 16:00 byfei
阅读(96)
评论(0)
推荐(0)
[h5棋牌项目]-19-把内存数据转成json格式字符串
摘要: 参考资料 https://my.oschina.net/Tsybius2014/blog/289527 //根节点 Json::Value root; //子节点 Json::Value partner; partner["matchid"] = 1; pa...
阅读全文
posted @ 2019-08-29 15:41 byfei
阅读(56)
评论(0)
推荐(0)
2019年8月27日
[h5棋牌项目]-18-C#读取json文件
摘要: 参考资料 c# 解析读取JSON文件 https://www.cnblogs.com/xiejunzhao/p/728222f170868b207bba1dcefae4a93f.html ConfigIB.json { "url":"https://www.7...
阅读全文
posted @ 2019-08-27 15:38 byfei
阅读(97)
评论(0)
推荐(0)
2019年8月20日
[h5棋牌项目]-17-C++读取json文件
摘要: .h #pragma once#include #include "json/json.h"typedef struct ResultModel{ std::string sGameDate; std::string sLeague; std::string ...
阅读全文
posted @ 2019-08-20 13:29 byfei
阅读(83)
评论(0)
推荐(0)
2019年8月19日
[h5棋牌项目]-16-C#写json文件
摘要: 参考资料 C# Json序列化工具--Newtonsoft.Json简介和使用 https://blog.csdn.net/u011127019/article/details/51706619 using System;using System.Collec...
阅读全文
posted @ 2019-08-19 16:39 byfei
阅读(89)
评论(0)
推荐(0)
[h5棋牌项目]-15-C#与C++通信
摘要: 参考资料 C#与C++通信 https://blog.csdn.net/chihun_love/article/details/53944425 C#和C++的Socket通信 https://www.cnblogs.com/rainbow70626/p/80...
阅读全文
posted @ 2019-08-19 15:24 byfei
阅读(72)
评论(0)
推荐(0)
2019年8月16日
[h5棋牌项目]-14-C++ string 转化为LPCTSTR
摘要: LPCTSTR不是一个类型,而是两种类型:LPCSTR和LPCWSTR其中之一。会根据你当前程序是否使用UNICODE字符集来变成那二者之一。如果使用UNICODE字符集,则LPCTSTR = LPCWSTR,否则LPCTSTR = LPCSTR。标准库的st...
阅读全文
posted @ 2019-08-16 22:31 byfei
阅读(270)
评论(0)
推荐(0)
[h5棋牌项目]-13-红包扫雷随机红包金额算法
摘要: .h部分代码 //红包结构体struct tagRedPacket { tagRedPacket() { ReSet(); } void ReSet() { ZeroMemory(this, sizeof(tagRedPacket)); } LONGLONG ...
阅读全文
posted @ 2019-08-16 16:42 byfei
阅读(325)
评论(0)
推荐(0)
[h5棋牌项目]-12-C++调用C#
摘要: 参考资料 跨越语言的障碍:C++/CLI 调用 C# https://www.cnblogs.com/xfuture/p/3728417.html C++调用C#的DLL实现方法 https://blog.csdn.net/qq_35040828/artic...
阅读全文
posted @ 2019-08-16 16:15 byfei
阅读(191)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
10
11
12
···
95
下一页
公告