分享

Source Insight 查看NS2 源代码

 寝乡园 2013-09-04
1. 将.cc 文件添加到Source Insight中:      
 1) “Options”     --> “Document Options”       
 2) “Document Options” : "Document Type" 列表中 选择 "C++ Source File" 选 项    -->       Add “;*.cc” in “File filter”     -->   “Close”

2.   将.tcl文件添加到Source Insight中:     
 1)  Download tcl language file from: 
http://www./public/languages/TCL.CLF        
 2)   “Options” Menu --> “Preferences”   --> “Languages”  
 3)   In “Languages” Tab:    Click “import”    --> Select “TCL.CLF”    --> Select “TCL” in “Language” --> Click “Doc Types?” Button in “Languages”   --> “Document Options”          
 4)  In “Document Options” Dialog:      Click “Add Type?”  -->  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

3. 导入 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

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多