Elite Member
|
引用:
作者NEAL
因為小貓貓引用的是iostream.h
注意引用的是.h標頭檔
可以不加using namespace std;
加using namespace std;的話
引用的是iostream,這個引用法會把所有iostream下的標頭檔都引用進來
包括printf()也可以使用
|
這方式是不是在Visual C++有效阿??  (或著其他)
因為我用VS .NET嘗試不行 
我去搜尋沒有發現iostream.h這個檔
只是有iostream的檔..
不過不是header檔...
我身邊Visual C/C++灌不進
發生一點問題..
沒法試 
|