Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

borland C++ 在win95下如何讀入一個檔案

0 views
Skip to first unread message

unread,
Dec 7, 1998, 3:00:00 AM12/7/98
to

assume 我的程式為 word.cpp
資料檔 為 word.dat

compiler 及 run 之後 產生 一個 word.exe


在 dos模式下的 borland c++

|
c:\cpp\word word.dat ←

我 的執行方式正確嗎?

假如 錯 誤要如何執行呢 ?
--
※ Origin: 楓橋驛站<bbs.cs.nthu.edu.tw> ◆ From: 140.128.180.175

喜歡妳~The Mekky Show

unread,
Dec 7, 1998, 3:00:00 AM12/7/98
to
※ 引述《seedb...@bbs.cs.nthu.edu.tw (河)》之銘言:
: assume 我的程式為 word.cpp

: 資料檔 為 word.dat
: compiler 及 run 之後 產生 一個 word.exe
: 在 dos模式下的 borland c++
: |
: c:\cpp\word word.dat ←
: 我 的執行方式正確嗎?
: 假如 錯 誤要如何執行呢 ?
如果妳確實用main(int argc,char *argv[])的方式來抓參數
argv[1]就是你的參數..那
c:\cpp\word word.dat ←是正確的執行方式

--
有沒有哪麼一個地方
可以容納我的 [1;5;31m悲傷與哀愁 [m 讓心也能有 [1;5;32m喘息 [m的空間
有沒有那麼一個地方
可以收藏我的 [1;5;33m愁悵與無奈 [m 讓心不再有 [1;5;34m牽掛 [m的羈絆
我只想要一片藍天 任我自由敖翔
我只想要一處港口 讓心不再沉浮

--
※ Origin: 元智大學 風之塔 <bbs.yzu.edu.tw> ◆ From: [d1305c.dorm.yzu.edu] [0m

0 new messages