GIDForums  

Go Back   GIDForums > Computer Forums > Computer Software Forum - Linux
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 11-Dec-2007, 11:27
nitu22 nitu22 is offline
New Member
 
Join Date: Dec 2007
Posts: 2
nitu22 is on a distinguished road

Need help to run c++ code in NS-2


Hello everyone,
I m new in linux as well as in NS2. I m doing a thesis on mobile IP and trying to use NS-allinone-2.31. I guess it has installed completely and i m using Fedora 3.
The problem is that i have no idea how to run the existing mobile ip codes. There are .cc & .tcl files.Can anyone tell me if i have to compile each c++ file?
Plz help guys. Its really urgent.
Thanks.
  #2  
Old 26-Jan-2008, 05:37
Peter_APIIT Peter_APIIT is offline
Regular Member
 
Join Date: May 2007
Location: Malaysia
Posts: 425
Peter_APIIT is on a distinguished road

Re: Need help to run c++ code in NS-2


Compile C++ is pretty straight forward.

g++ filename.cpp -o filename.o

man g++ and gcc is ur friends.
__________________
Linux is the best OS in the world.
 
 

Recent GIDBlogWelcome to Baghdad by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Classes and allocating memory BlueFireCO. C++ Forum 13 26-Jul-2007 20:31
How to sort random access file? wmmccoy0910 C Programming Language 12 04-Sep-2006 03:40
Here it is again! 35% - 40% off For Life! my-e-space Web Hosting Advertisements & Offers 0 20-Apr-2006 14:48
User defined headers davis Miscellaneous Programming Forum 6 16-Feb-2006 18:40
Problem with int mixed with char,... leitz C++ Forum 17 07-Dec-2004 20:56

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 04:58.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.