上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 72 下一页
摘要: 首先需要确定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年的顺遂平安君 阅读(69) 评论(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年的顺遂平安君 阅读(726) 评论(0) 推荐(0)
摘要: 1. 如果对象不是针对,它们没有区别 2. 如果对象是指针,它们有区别 : 指针p不能够指向其他地址 : 指针p只读 ,不能够对其进行修改 举例, include using namespace std; int main() { int arr[3]={1,2,3}; int varr[3]={1 阅读全文
posted @ 2019-12-25 22:50 2021年的顺遂平安君 阅读(7930) 评论(0) 推荐(1)
摘要: 如果对象不是针对,它们没有区别 int const x = 3;const int x = 3; 如果对象是指针,它们有区别 int* const p = &array: 指针p不能够指向其他地址 const int* p = &array: 指针p只... 阅读全文
posted @ 2019-12-25 22:50 2021年的顺遂平安君 阅读(79) 评论(0) 推荐(0)
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 72 下一页