On 10/04/2013 3:50 CH, Mallika Sharma wrote: > i m doing a project on ns2 version 2.34.Can anyone plz tell me how to run a > .cc file. > thanx
Actually a .cc file just contain the code in C/C++ language and cannot be executed. You need to compile it with a C++ compiler. For example you have a file test.cc, you can compile this file with this command in Terminal: gcc test.cc -o test.o Then set the execute permission for the output file test.o (with chmod) and you can run the compiled file. For example typing this command in the Terminal (at the directory that contains the file test.o): ./test.o Best regards,