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

請問各位一個BCB裡的bool問題......

0 views
Skip to first unread message

疾風總大將-信長

unread,
Apr 12, 1999, 3:00:00 AM4/12/99
to
※ 引述《freshm...@bbs.mgt.ncu.edu.tw (中壢星光依然燦爛)》之銘言:
: 小弟我之前只學過Turbo C的一點皮毛........
: 而現在因為工作的需要要用BCB開發視窗,所以基礎有點爛....希望各位不吝指教...
: 我在程式碼裡看到bool這個東東......找了我買的BCB書和一些Boland C++的書
: 都沒看到有關這個東東的蹤跡耶.....可否告訴我它的用途與用法?
: 謝謝!

bool(boolean) :就是邏輯性的資料型態,也就是可表示true or false

◇厭離穢土,欣求淨土◇
--
※ From: 163.17.4.36
【※ Origin:朝陽科技大學資管系 向日葵BBS站 : bbs.im.cyut.edu.tw

Depict

unread,
Apr 20, 1999, 3:00:00 AM4/20/99
to
簡單的說便是只得 0 和 1

bool test;
test=true; 等同 test=1;

test=fasle; 等同 test =0;

0 new messages