摘要: 首先需要确定C++和Python中变量对应的精度类型, https://docs.scipy.org/doc/numpy/user/basics.types.html array types and conversions between types 常用的, C++ 对应Python C++ 对应 阅读全文
posted @ 2019-12-26 23:25 2021年的顺遂平安君 阅读(2384) 评论(0) 推荐(0)
摘要: 首先需要确定C++和Python中变量对应的精度类型, https://docs.scipy.org/doc/numpy/user/basics.types.html#array-types-and-conversions-between-types 常... 阅读全文
posted @ 2019-12-26 23:25 2021年的顺遂平安君 阅读(128) 评论(0) 推荐(0)
摘要: { "cmd": ["C:\\Users\\User_Name\\.conda\\envs\\Env_Name\\python.exe", "-u", "$file"], "file_regex": "^[ ]*File \"(...*?)\"... 阅读全文
posted @ 2019-12-26 23:12 2021年的顺遂平安君 阅读(67) 评论(0) 推荐(0)
摘要: Windows下使用 可以获得python的路径。 阅读全文
posted @ 2019-12-26 23:12 2021年的顺遂平安君 阅读(411) 评论(0) 推荐(0)
摘要: include typedef class APrinterClass { public: void printer() { std::cout 阅读全文
posted @ 2019-12-26 00:07 2021年的顺遂平安君 阅读(494) 评论(0) 推荐(0)
摘要: typedef unsigned char BYTE;BYTE b1; #includetypedef class APrinterClass {public: void printer() { std::cout << "Print this... 阅读全文
posted @ 2019-12-26 00:07 2021年的顺遂平安君 阅读(70) 评论(0) 推荐(0)
摘要: #include using namespace std;class Box { public: double getVolume(void) { return length * breadth * height; ... 阅读全文
posted @ 2019-12-26 00:00 2021年的顺遂平安君 阅读(62) 评论(0) 推荐(0)
摘要: 重载后可以返回不同类型的数据,例子中 和`+ &`重载符的返回类型是 。 阅读全文
posted @ 2019-12-26 00:00 2021年的顺遂平安君 阅读(727) 评论(0) 推荐(0)