gcc 編譯.o 不能執 command not found - Linux

By Noah
at 2011-04-05T18:08
at 2011-04-05T18:08
Table of Contents
※ 引述《bjk (Up2u)》之銘言:
: ===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
編譯出來的a.out是在目前的工作目錄底下
所以執行的時候要輸入./a.out
--
: ===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
編譯出來的a.out是在目前的工作目錄底下
所以執行的時候要輸入./a.out
--
Tags:
Linux
All Comments

By Oliver
at 2011-04-08T07:04
at 2011-04-08T07:04
Related Posts
各種Linux版本的使用

By Skylar DavisLinda
at 2011-04-05T17:53
at 2011-04-05T17:53
LibreOffice 中文介面字體很小

By Audriana
at 2011-04-05T17:38
at 2011-04-05T17:38
sed指令取代的問題

By Elizabeth
at 2011-04-05T16:58
at 2011-04-05T16:58
UBUNTU安裝firefox 4.0

By Oliver
at 2011-04-05T16:50
at 2011-04-05T16:50
UBUNTU安裝firefox 4.0

By Blanche
at 2011-04-05T15:48
at 2011-04-05T15:48