Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/cplusplus/155.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C++ 在C+中构建拓扑+;使用ns3_C++_Ns 3 - Fatal编程技术网

C++ 在C+中构建拓扑+;使用ns3

C++ 在C+中构建拓扑+;使用ns3,c++,ns-3,C++,Ns 3,有人能告诉我为什么在ns3.24中运行构建拓扑的程序后会收到此消息吗 assert failed. cond="c.GetN () == 2", file=../src/point-to-point/helper/point-to-point-helper.cc, line=220 terminate called without an active exception 谢谢。尝试检查节点编号,要安装PointPointPoint,必须在两个节点中完成。如下图所示: 节点。创建(2) 如果您试

有人能告诉我为什么在ns3.24中运行构建拓扑的程序后会收到此消息吗

assert failed. cond="c.GetN () == 2", file=../src/point-to-point/helper/point-to-point-helper.cc, line=220
terminate called without an active exception

谢谢。

尝试检查节点编号,要安装PointPointPoint,必须在两个节点中完成。如下图所示:

节点。创建(2)

如果您试图安装不同数量的节点,则可能会导致此错误


BR,

学习调试器。使用调试器。喜欢你的调试器。如果不看你的一行代码,我们就很难知道它是不是
c.GetN()==2
。请根据指导原则发布一个示例