瀏覽單個文章
上善若水
Major Member
 

加入日期: Oct 2000
您的住址: AKL
文章: 115
as i can remember...

if you are using "iomanip.h" then
you are using OLD version of standard library

if you use "iomanip" then it includes new standard library,
that extensively uses namespace
and all basic functions/objects are under namespace "std"
that's why you need "using namespace std;"
which make namespace "std" as default namespace
to avoid typing std.xxx all the time

integer, long short are for INTEGERS, eg. 1, -5, 29, 888
float, single, double are for real numbers, e.g -22.59301, 0.2593958
check reference manual for details

p.s.
if you still don't get it, email me if you want
sorry I can't type chinese right now
but i can type chinese at home if necessary

舊 2003-09-23, 08:33 AM #3
回應時引用此文章
上善若水離線中