- 博客(6)
- 资源 (1)
- 收藏
- 关注
转载 Error: style attribute '@android:attr/windowEnterAnimation' not found.
背景:AS从2.33更新到3.02版本,项目报以下错误:解决:在Project/gradle.properties中添加 android.enableAapt2=false
2018-03-29 19:17:42 177
原创 solidity生成随机数
pragma solidity ^0.4.0;contract random{ function rand() public returns(uint256) { uint256 random = uint256(keccak256(block.difficulty,now)); return random%10; } }
2018-03-24 10:07:28 3974
转载 ubuntu错误解决E: Sub-process /usr/bin/dpkg returned an error code (1)
在用apt-get安装软件时出现了类似于install-info: No dir file specified; try –help for more information.dpkg:处理 gettext (–configure)时出错: 子进程 post-installation script 返回了错误号 1 在处理时有错误发生:findutilsE: Sub-process /usr/b...
2018-03-17 10:34:01 2133
翻译 Solidity合约无法传入unit256数据
The max value is 2^256-1. The assertion you're hitting is in Remix. The full error message is:Error encoding arguments: Error: Assertion failedThe issue is that Remix uses JSON to parse the argument l...
2018-03-16 16:56:17 3666
原创 Visual Studio打印std::string
PrgString url = CHostApplication::GetInstance()->GetBaseUrl() + L"Login.userLogin&user_login=" + user + L"&user_pass=" + psd; net::HttpRequest req; req.method = L"GET"; req.url = url.GetStr...
2018-03-06 20:15:27 1237
原创 rapidjson 解析打印中文
#include <codecvt> #include <string> // convert UTF-8 string to wstring std::wstring utf8_to_wstring(const std::string& str) { std::wstring_convert<std::codecvt_utf8&...
2018-03-05 20:00:22 1960
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人