Hi Udit,you can use cammand "system()" to run nus2 inside C file.like this: 
system(ns);RegardsAmir

--- On Sat, 10/24/09, Udit Kumar <[email protected]> wrote:

From: Udit Kumar <[email protected]>
Subject: [ns] Running NS2 from C File
To: "ns-users" <[email protected]>
Date: Saturday, October 24, 2009, 8:47 PM


Hi Friends,

I have one program in C and I am writting topology file for NS2 from my C
program. Now once topology file is written I want to run NS2 from/inside C
programme to get some result from NS2 run, Is it possible to run NS2 from C
file.

Please help me.

Please give me some idea for this.

Thanks & Regards,
Udit Kumar



      

Reply via email to