- 博客(6)
- 资源 (1)
- 收藏
- 关注
原创 malloc 与 calloc 的使用区别
两者使用方式与区别: 1. 使用方式区别 calloc : p = (struct xxx *)calloc(max_size, sizeof(struct xxx)); 两个参数,分配max_size 个大小为 sizeof(struct xxx) 的连续空间,
2015-04-12 09:52:03
477
原创 python 常用数学函数
python 中自带常用数学函数,使用前需加载 math 模块import math0.常数: (1) math.e = 2.71828... (2)math.pi = 3.141592...1. 指数:
2015-04-12 09:18:16
9121
原创 Linux关闭终端后继续运行程序的方法
screen -S yourname -> 新建一个叫yourname的sessionscreen -ls -> 列出当前所有的sessionscreen -r yourname -> 回到yourname这个sessionscreen -d yourname -> 远程detach某个sessionscreen -d -r yourname -> 结束当前session并回到yo
2014-09-17 21:31:49
1388
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人