[問題] programming問題
我是用freebsd 4.10版本
寫了一個簡單的程式 hello.c
#include<stdio.h>
int main(void)
{ printf("hello");
return 0;
}
用gcc hello.c -o hello
compiler完畢沒有出現任何error 也成功產生執行檔
但是在命令列打hello 就是沒辦法 顯現hello字眼
甚至有時候還會出現command not found
想請問一下我哪裡出錯呢~返請大大告之^^
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.117.169.90
※ 編輯: supermai 來自: 140.117.169.90 (09/17 23:22)
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 2 篇):
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章
6
14