LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-28-2012, 10:24 AM   #1
NimeshaK
LQ Newbie
 
Registered: Mar 2012
Posts: 8

Rep: Reputation: Disabled
C++ in ns-2


How to compile and run C++ code in ns-2?
 
Old 03-28-2012, 10:45 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
Welcome to LQ.


http://www.linuxquestions.org/questi...80#post4638780
 
Old 03-28-2012, 11:34 AM   #3
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
As mentioned by knudfl in this post: http://www.linuxquestions.org/questi...6/#post4638780 that the c++ code cannot be compiled in ns2, you can check the tcl example tutorial from this link: http://www.cs.virginia.edu/~cs757/sl...-tutorial1.pdf
 
Old 03-28-2012, 01:08 PM   #4
NimeshaK
LQ Newbie
 
Registered: Mar 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
ns-2

Thank you 4 replying me.I followed the tutorial in "http://www.cs.virginia.edu/~cs757/sl...-tutorial1.pdf" & also refer the page " http://www.linuxquestions.org/questi...80#post4638780 ". As it mentioned I can rum examples regarding .tcl files.But i am unable to run the examples regarding c++ codes?How can i know the basic steps to save file,compile and run programs in c++ when i am using ns-2?
Can you please give me a way to solve my problem.I am using Fedora 14 & ns2.35.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off




All times are GMT -5. The time now is 10:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration