A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
hello-simulator.cc
Go to the documentation of this file.
1/*
2 * SPDX-License-Identifier: GPL-2.0-only
3 */
4
5#include "ns3/core-module.h"
6
7using namespace ns3;
8
9NS_LOG_COMPONENT_DEFINE("HelloSimulator");
10
11int
12main(int argc, char* argv[])
13{
14 NS_LOG_UNCOND("Hello Simulator");
15 return 0;
16}
#define NS_LOG_UNCOND(msg)
Output the requested message unconditionally.
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name.
Definition log.h:191
Every class exported by the ns3 library is enclosed in the ns3 namespace.