[問題] gcc 編譯.o 不能執 command not found

看板Linux作者 (Up2u)時間15年前 (2011/04/05 10:51), 編輯推噓0(002)
留言2則, 2人參與, 最新討論串1/2 (看更多)
===hello.c === #include<stdio.h> #include<stdlib.h> int main(){ prinf("Hello"); return 0; ===hello.c end=== $g++ hello.c $a.out 出現這個 command not found -- 雲長曰 :“曹操望見煙,知有埋伏,如何肯來?” 孔明笑曰:“豈不聞兵法虛虛實實之論?操雖能用兵,只此可以瞞過他也。 他見煙起,將謂虛張聲勢,必然投這條路來。將軍休得容情。” -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 203.70.50.75 ※ 編輯: bjk 來自: 59.105.81.183 (04/05 10:53)

04/05 10:55, , 1F
./a.out
04/05 10:55, 1F

04/05 11:17, , 2F
太感謝您了~
04/05 11:17, 2F
文章代碼(AID): #1DceEOP3 (Linux)
文章代碼(AID): #1DceEOP3 (Linux)