- 博客(1)
- 资源 (153)
- 收藏
- 关注
原创 c++ 浮点数比较
浮点数的比较:第一种:bool approximatelyEqual(float a, float b, float epsilon){ return fabs(a - b) <= ( (fabs(a) < fabs(b) ? fabs(b) : fabs(a)) * epsilon);}bool essentiallyEqual(float a, floa...
2019-03-29 13:45:35 1014
python 标准库 中文版
python 标准库 中文版
原书名:The Python Standard Library by Example
原出版社: Pearson Education
作者: (美)Doug Hellmann
译者: 刘炽
出版社:机械工业出版社
ISBN:9787111378105
上架时间:2012-6-14
出版日期:2012 年5月
开本:16开
页码:1016
2015-10-28
python 标准库 英文版及代码
The Python Standard Library by Example 英文版及代码,
原书名:The Python Standard Library by Example
原出版社: Pearson Education
作者: (美)Doug Hellmann
2015-10-28
无顺序 map c++ vs2010-vs2022都可以编译的 版本
c++ 无序map 及使用,vs可以编译。
tsl::ordered_map<char, int> map = { {'d', 1}, {'a', 2}, {'g', 3} };
map.insert({ 'b', 4 });
map['h'] = 5;
map['e'] = 6;
map.unordered_erase('a');
// {d, 1} {g, 3} {b, 4} {h, 5} {e, 6}
for (const auto& key_value : map) {
std::cout << "{" << key_value.first << ", " << key_value.second << "}" << std::endl;
}
2023-09-21
java jdbc maven test
java jdbc maven test 测试 http rpc 例子 java jdbc maven test 测试 http rpc 例子
2019-03-31
ios jsoncpp jsonkit test
ios jsoncpp jsonkit test ios jsoncpp jsonkit test ios jsoncpp jsonkit test
2016-12-22
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人