摘要: 参考: C++ 内存分配(new,operator new)详解 如何限制对象只能建立在堆上或者栈上 new运算符和operator new() new:指我们在C++里通常用到的运算符,比如A* a = new A; 对于new来说,有new和::new之分,前者位于std operator ne 阅读全文
posted @ 2021-10-25 21:07 千帆L 阅读(508) 评论(0) 推荐(0)
摘要: 使用npm可以很方便的安装各种Node模块,但是npm默认连接的镜像库在国外,致使我们安装模块时很慢,甚至出现卡死现象。 官方镜像 https://registry.npmjs.org/ 淘宝镜像 这是一个完整 npmjs.org 镜像,你可以用此代替官方版本(只读),同步频率目前为 10分钟 一次 阅读全文
posted @ 2021-08-11 12:19 千帆L 阅读(619) 评论(0) 推荐(0)
摘要: #include <iostream> #include <string> #include <algorithm> using namespace std; int lcs(string str1, string str2, int **c, int **s,string &result) { / 阅读全文
posted @ 2020-10-15 15:58 千帆L 阅读(214) 评论(0) 推荐(0)