日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

NS2代码查看方法

發布時間:2025/4/16 编程问答 22 豆豆
生活随笔 收集整理的這篇文章主要介紹了 NS2代码查看方法 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
最近看《NS與網絡模擬》教材,經常要查看NS2的源代碼,可NS2太過復雜,通過XP的資源管理器看了幾天,發現太累!Google了以下,發現有個軟件在XP下結合Cygwin的NS2平臺,可以很方便地查看源代碼,尤其是NS2繁雜的各種類與成員! http://ns2.superliu.co.cc/entries/ns2/view-ns-source-code-using-source-insight 此鏈接有如何使用Source-insight軟件的詳細介紹,但不知何故,其中部分鏈接地址有問題,特更正如下以備不時只需: Download Source Insight (http://www.sourceinsight.com) 此軟件的官網 Introduction: http://www.sourceinsight.com/prodinfo.html軟件介紹 Trial Version: http://www.sourceinsight.com/eval.html?可下載使用版本 User Manual: http://www.sourceinsight.com/docsv3.html使用手冊,界面很友好,對于NS2代碼的查看而言,不需要! Adding support for .cc file:??? 添加對.cc文件格式的支持 1.?Click “Options” Menu --> “Document Options” Dialog 2.?In “Document Options” Dialog: Select "C++ Source File" in "Document Type" Droplist --> Add “;*.cc” in “File filter”--> Click “Close” Button Adding support for .tcl file: 添加對.tcl文件格式的支持 1.?Download tcl language file from: http://www.sourceinsight.com/public/languages/TCL.CLF 2.Click “Options” Menu --> “Preferences” Dialog --> “Languages” Tab 3.In “Languages” Tab: Click “import” Button --> Select “TCL.CLF” to import the tcl language file --> Select “TCL” in “Language” --> Click “Doc Types…” Button in “Languages” Tab --> “Document Options” Dialog 4.?In “Document Options” Dialog: Click “Add Type…” Button --> Type “tcl” as Document Type Name --> Type “*.tcl” in “File filter” --> Select “TCL” in “Language” Droplist --> Select "Include when adding to projects" Checkbox --> Click “Close” Button Import NS2 Source code? 導入NS2的源代碼,以便查看! 1.?Click "Project" Menu --> New Project --> Type “NS2” as the project name --> Click “OK” Button --> Click “OK” Button in “New Project Setting” Dialog --> “Add and Remove Project Files” Dialog 2.In “Add and Remove Project Files” Dialog: Select the NS2 source code file folder --> Click “Add All” Button --> Select “Recursively add lower sub-directories” --> Click “OK” Button --> Click “OK” for importing source code --> Click “Close” Button in “Add and Remove Project Files” Dialog 以上內容均來自http://ns2.superliu.co.cc/entries/ns2/view-ns-source-code-using-source-insight?,略有修改!

轉載于:https://blog.51cto.com/xgucs/184556

總結

以上是生活随笔為你收集整理的NS2代码查看方法的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。