mirror of
https://github.com/avinal/sixth-semester.git
synced 2026-01-11 07:38:34 +05:30
first program added
This commit is contained in:
19
computer_networks/simulation/scratch/hello_network.cc
Normal file
19
computer_networks/simulation/scratch/hello_network.cc
Normal file
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
* /mnt/z/my_git/sixth-semester/computer_networks/simulation/practice/hello_network.cc
|
||||
* @author Avinal Kumar
|
||||
* @since February 02, 2021
|
||||
*
|
||||
* Network Simulation Hello World
|
||||
*/
|
||||
|
||||
#include "ns3/core-module.h"
|
||||
|
||||
NS_LOG_COMPONENT_DEFINE("HelloNetwork");
|
||||
|
||||
int main(int argc, char const *argv[])
|
||||
{
|
||||
NS_LOG_UNCOND("Hello Network");
|
||||
|
||||
ns3::Simulator::Run();
|
||||
ns3::Simulator::Destroy();
|
||||
}
|
||||
Reference in New Issue
Block a user