Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
printffunction に簡単なステートメントを追加して、NS-2 コア コードを変更しようとしていますMac802_11::command。しかし、何度コード行を追加して ( printf("hello there!\n");) を実行./installしても、何も表示されません。
printf
Mac802_11::command
printf("hello there!\n");
./install
テキストが表示される前に他の要件はありますか? ちなみに、Ubuntu 11.04 で NS-2.34 を利用しています。
Makefile がある ns2.34 ディレクトリに移動します。既存の .cc ファイルに変更を加えた後、make を発行します。install を発行しないでください。
ns-2.34$make