![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
实验日常
hellochristie
这个作者很懒,什么都没留下…
展开
-
个人经验:遇到core dumped
注意定义了指针之后有没有使用new给它分配了内存之后再使用,例如packet_timeout* packet_timeout_;packet_timeout_=new packet_timeout;而数组不需要new,在定义时已经分配了内存。要看错误在哪里可使用gdb。过程: ulimit -c unlimited ns fattreeoutcast.tcl which nsgdb /home/n原创 2018-01-17 21:11:00 · 10008 阅读 · 1 评论 -
NS2源码重新编译
在网络仿真过程中,我们需要对NS2的源码进行更改然后使用,具体步骤如下:[plain] view plain copycd ns-allinone-2.35 cd ns-2.35 对源码做完自己想要的修改后,重新编译NS2,命令如下:[plain] view plain copy原创 2017-11-06 19:20:29 · 867 阅读 · 0 评论 -
Ubuntu12.04安装Anaconda
1. sudo apt-get update2. sudo apt-get install python-dev3. sudo apt-get install python-pip4. 下载和安装4.1.下载(直接到清华镜像下载) (注:我用的是Anaconda2-2.4.0-Linux-x86.sh)conda config –add channels https...原创 2018-12-03 19:53:22 · 704 阅读 · 0 评论