会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
千帆L
博客园
首页
新随笔
联系
订阅
管理
2021年10月25日
C++ 内存分配(new,operator new)详解
摘要: 参考: 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)
2021年8月11日
Npm切换镜像源
摘要: 使用npm可以很方便的安装各种Node模块,但是npm默认连接的镜像库在国外,致使我们安装模块时很慢,甚至出现卡死现象。 官方镜像 https://registry.npmjs.org/ 淘宝镜像 这是一个完整 npmjs.org 镜像,你可以用此代替官方版本(只读),同步频率目前为 10分钟 一次
阅读全文
posted @ 2021-08-11 12:19 千帆L
阅读(619)
评论(0)
推荐(0)
2020年10月15日
最长子序列算法
摘要: #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)
公告