上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 73 下一页
摘要: 在C++中,以下代码给出了编译器错误: void destruct1 (int * item) { item->~int(); } 这段代码几乎相同,我只是将int定义为另一种类型,并且发生了一些魔术: #include <iostream> using namespace std; typedef 阅读全文
posted @ 2021-10-25 10:08 邱明成 阅读(222) 评论(0) 推荐(0) 编辑
摘要: #include <malloc.h> #include <stdio.h> #include <iostream> #include <string> class Student { public: int id; std::string name; }; int main(int argc, c 阅读全文
posted @ 2021-10-25 09:51 邱明成 阅读(494) 评论(0) 推荐(0) 编辑
摘要: #include <string.h> #include <iostream> using namespace std; struct TestStruct { char *a{nullptr}; char *b{nullptr}; char *c{nullptr}; int id; }; int 阅读全文
posted @ 2021-10-20 19:59 邱明成 阅读(261) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <cassert> using namespace std; int main(int argc, char const* argv[]) { int a = 123; int b = 123; assert(a != b); cout << 阅读全文
posted @ 2021-10-18 15:45 邱明成 阅读(177) 评论(0) 推荐(0) 编辑
摘要: https://docs.microsoft.com/zh-cn/windows/wsl/troubleshooting 阅读全文
posted @ 2021-10-17 10:12 邱明成 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 问题描述今天在写 C++ 代码的时候用上 C++11 的特性,然后发现 VSCode 虽然可以编译通过,但是会在相应位置报红,如下图所示。 并且在编译的时候遇到如下警告: C1.cpp:62:14: warning: 'auto' type specifier is a C++11 extensio 阅读全文
posted @ 2021-10-11 23:10 邱明成 阅读(1056) 评论(0) 推荐(0) 编辑
摘要: 设置 按下win键,直接搜索启用或关闭Windows功能 打开后,在弹框中选择 ”适用于linux的windows子系统“ 材料准备 【 LxRunOffline 】下载地址:https://github.com/DDoSolitary/LxRunOffline/releases (可以选择最新版本 阅读全文
posted @ 2021-10-10 14:57 邱明成 阅读(2065) 评论(0) 推荐(1) 编辑
摘要: PostgreSQL实现了四种执行策略:(1)PORTAL_ONE_SELECT:如果用户提交的SQL语句中仅包含一个SELECT类型查询,则查询执行器会使用执行器来处理该SQL语句。换句话说,这种策略用于处理仅有一个可优化原子操作的情况。(2)PORTAL_ONE_RETURNING(PORTAL 阅读全文
posted @ 2021-10-09 19:13 邱明成 阅读(234) 评论(0) 推荐(0) 编辑
摘要: s.index_id='$index_id' 阅读全文
posted @ 2021-10-05 21:54 邱明成 阅读(357) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/chengkaibing521521/article/details/105905665 阅读全文
posted @ 2021-09-22 20:03 邱明成 阅读(99) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 73 下一页