Ns3 First .CC
As an actual fact, the execution of first .cc file is an easy and simple process and our research professionals have highlighted the required processes.
Step: 1 First.cc File Creation
To start the process, we have to create file in the scratch folder to perform the simulation and that is stored as first.cc.
![Creation of First.CC File](https://ns3-code.com/wp-content/uploads/2023/01/first.cc-file-creation.png)
Step: 2 Ns-3.26 Configuration
Then, we have to configure the ns-3.26 packages through the utilization of the below mentioned commands.
cd /home/research/ns-allinone-3.26/ns-3.26
sudo ./waf configure
![Configuration of Ns-3.26 Packages](https://ns3-code.com/wp-content/uploads/2023/01/ns-3.26-configuration.png)
Step: 3 First.CC Execution
Consequently, we have to implement the following commands to execute the main file. In addition, we have depicted the acquired results in the following.
cd /home/research/ns-allinone-3.26/ns-3.26
sudo ./waf --run first --vis
![](https://ns3-code.com/wp-content/uploads/2023/01/first.cc-execution.png)
![](https://ns3-code.com/wp-content/uploads/2023/01/result-for-first-.cc-execution.png)
Hence, it is better to interact with our folks to get exact details about the implementation of first.cc in ns3.