求助:编译能通过但不能执行 出现下面的错误
发表于 : 2008-12-17 11:09
程序肯定没问题 是自带的 hello word
EXECUTING:
/home/cbc/test/src/main.cc
----------------------------------------------
/home/cbc/test/src/main.cc: 1: /bin: Permission denied
/home/cbc/test/src/main.cc: 1: indent-tabs-mode:: not found
/home/cbc/test/src/main.cc: 1: c-basic-offset:: not found
/home/cbc/test/src/main.cc: 1: tab-width:: not found
/home/cbc/test/src/main.cc: 2: /bin: Permission denied
/home/cbc/test/src/main.cc: 3: Makefile: not found
/home/cbc/test/src/main.cc: 4: Syntax error: "(" unexpected
----------------------------------------------
Program exited successfully with errcode (2)
Press the Enter key to close this terminal ...
EXECUTING:
/home/cbc/test/src/main.cc
----------------------------------------------
/home/cbc/test/src/main.cc: 1: /bin: Permission denied
/home/cbc/test/src/main.cc: 1: indent-tabs-mode:: not found
/home/cbc/test/src/main.cc: 1: c-basic-offset:: not found
/home/cbc/test/src/main.cc: 1: tab-width:: not found
/home/cbc/test/src/main.cc: 2: /bin: Permission denied
/home/cbc/test/src/main.cc: 3: Makefile: not found
/home/cbc/test/src/main.cc: 4: Syntax error: "(" unexpected
----------------------------------------------
Program exited successfully with errcode (2)
Press the Enter key to close this terminal ...