I have tried both the extensions, It is not considering
".cpp" for compiling and it is giving error for
".cc". But i am getting output for the same program with g++ compiler. Its showing so many errors regarding "ostream". I have used ostream in the program.
On Monday, June 10, 2013 12:53:18 PM UTC+5:30, Alexander William wrote:
Hi, have you tried to copy only the file to scratch and try to compile it using : ./waf --run scratch/main
I think, you should have the extension ".cc" for your program.
regards,
Alexander William