#include "ns3/core-module.h" #include "ns3/simulator-module.h" #include "ns3/node-module.h" #include "ns3/helper-module.h" using namespace ns3; NS_LOG_COMPONENT_DEFINE ("FirstScriptExample"); int main (int argc, char *argv[]) { NormalVariable rng(10, 10); for (int i=0; i<10;i++) { std::cout << rng.GetValue() << "\n"; } Simulator::Run (); Simulator::Destroy (); return 0; }