看板 Linux 關於我們 聯絡資訊
※ 引述《laevatain103.bbs@ptt.cc (RICO)》之銘言: > 我最近開始 play linux ubuntu > $ gcc -o hello hello.c > hello.c: In function 「main」: > hello.c:6: 警告: 隱含宣告與內建函式 「exit」 不相容 > 才去寫一個最基本的程式就不能過..... > 是我沒去設定gcc嗎? 1. 要 #include <stdlib.h> 2. 你可能使用 exit(); 而不是 exit(0); 這類 ? -- 如果真的愛一個作業系統 怎能不害怕不再能使用它 而我們必須接受現實 於是長大了 寂寞就是沒有了機會再用它 比沒有電腦還要寂寞 而那些點亮我們生命的作業系統 就彷彿電影中發生在暹邏的愛情故事 即使短暫使用也會刻骨銘心 To all the Linux that bring us to kernel. -- ※ Origin: SayYA 資訊站 <bbs.sayya.org> ◆ From: 122-117-29-41.hinet-ip.hinet.net
skybluee:re 03/28 02:04