08 2019 档案
摘要:设计思想,部分代码 //排行榜类class CRanking{ vector m_ItemList; //保存所有的列表}//排行榜管理类vector m_RankingList; //排行榜的列表这个排行榜的核心就是数据变动后的自动排...
阅读全文
摘要:参考资料 https://my.oschina.net/Tsybius2014/blog/289527 //根节点 Json::Value root; //子节点 Json::Value partner; partner["matchid"] = 1; pa...
阅读全文
摘要:参考资料 c# 解析读取JSON文件 https://www.cnblogs.com/xiejunzhao/p/728222f170868b207bba1dcefae4a93f.html ConfigIB.json { "url":"https://www.7...
阅读全文
摘要:.h #pragma once#include #include "json/json.h"typedef struct ResultModel{ std::string sGameDate; std::string sLeague; std::string ...
阅读全文
摘要:参考资料 C# Json序列化工具--Newtonsoft.Json简介和使用 https://blog.csdn.net/u011127019/article/details/51706619 using System;using System.Collec...
阅读全文
摘要:参考资料 C#与C++通信 https://blog.csdn.net/chihun_love/article/details/53944425 C#和C++的Socket通信 https://www.cnblogs.com/rainbow70626/p/80...
阅读全文
摘要:LPCTSTR不是一个类型,而是两种类型:LPCSTR和LPCWSTR其中之一。会根据你当前程序是否使用UNICODE字符集来变成那二者之一。如果使用UNICODE字符集,则LPCTSTR = LPCWSTR,否则LPCTSTR = LPCSTR。标准库的st...
阅读全文
摘要:.h部分代码 //红包结构体struct tagRedPacket { tagRedPacket() { ReSet(); } void ReSet() { ZeroMemory(this, sizeof(tagRedPacket)); } LONGLONG ...
阅读全文
摘要:参考资料 跨越语言的障碍:C++/CLI 调用 C# https://www.cnblogs.com/xfuture/p/3728417.html C++调用C#的DLL实现方法 https://blog.csdn.net/qq_35040828/artic...
阅读全文