上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 90 下一页
摘要: https://www.cnblogs.com/wanghao-boke/p/11688678.html 在最长不降序子列一题中,求的是加法,如果题目改为求最大乘积的不降序子列和该题有什么关联和区别呢。 不降序子列用的是加法,即, 如果 A > B ,那么 A + C > B + C 是恒成立的 所 阅读全文
posted @ 2020-10-21 19:46 王清河 阅读(127) 评论(0) 推荐(0)
摘要: sudo apt-get sudo apt-get install git git --version git config --user.name "wanghao" git config --global user.name "wanghao" <!--creat a new folder an 阅读全文
posted @ 2020-10-15 20:21 王清河 阅读(254) 评论(0) 推荐(0)
摘要: 在数字和字符串相互转换的过程中,借助这两个库函数的使用将是非常简单的 char str[100] = {}; sprintf(str, "%d", 100); //将 数字 100 写入到字符串 str 中 int a; sscanf(str, "%d", &a); //将 str 的内容 写入到 阅读全文
posted @ 2020-10-08 10:04 王清河 阅读(133) 评论(0) 推荐(0)
摘要: 适用于ubuntu16.04以上版本(大概 sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make sudo apt-get update sudo apt-get install ubuntu-make sudo umake web visua 阅读全文
posted @ 2020-09-19 20:57 王清河 阅读(1139) 评论(0) 推荐(0)
摘要: 文件结构如下: 其中,前两个.so文件为动态库文件(还是静态库?),.h文件都是库的头文件,.cpp文件是我使用的调用文件 makefile编写如下: ofd_test:OFD_test.cpp ofdsdk.h g++ OFD_test.cpp ofdsdk.h -o ofd_test -lsw3 阅读全文
posted @ 2020-09-10 17:53 王清河 阅读(276) 评论(0) 推荐(0)
摘要: (背景是本地环境以前没有绑定过github,即没有残余文件) 本地设置用户名和链接远程账户(引号内修改为自己的用户名和账号) git config --global user.name"wangqinghe95"git config --global user.email"675072584@qq. 阅读全文
posted @ 2020-08-29 11:41 王清河 阅读(5298) 评论(0) 推荐(0)
摘要: 登录mysql(ubuntu) mysql -uroot -pmysql123 source /home/ubuntu/test.sql 1.按照oracle语句写 select e.name, b.name from emp e, emp b where e.mgr = b.empno; 2.改造 阅读全文
posted @ 2020-07-25 17:05 王清河 阅读(112) 评论(0) 推荐(0)
摘要: 背景: C++ peimer 第七章第二小节的代码 如果在同一个文件中编译没问题,但是如果分发到 .hpp 和 .cpp 两个文件中,就会出现 error 2019 的错误 把内联的几个 inline 去掉后,就可以编译编译成功。此处是问题一,这个内联定义影响到了C++编译期链接中间函数名,这个是为 阅读全文
posted @ 2020-07-23 14:25 王清河 阅读(858) 评论(0) 推荐(0)
摘要: **约束条件:** FOREIGN KEY:在子表中定义一个级表约束 REFERENCES:指定表和父表中的列 ON DELETE CASCADE:当删除父表时,级联删除子表纪录 ON DELETE SET NULL:将子表的相关依赖纪录外键置为 null create table teacher 阅读全文
posted @ 2020-07-04 15:17 王清河 阅读(250) 评论(0) 推荐(0)
摘要: # 处理数据 ## insert --1.向表中插入所有列(所有不需要写列名) insert into emp values (1, 'tom_111', 'clerk', 7839, sysdate, 8500, 10000, 10); --2.向表中插入部分列 insert into emp(e 阅读全文
posted @ 2020-07-04 15:16 王清河 阅读(130) 评论(0) 推荐(0)
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 90 下一页