On Fri, Nov 13, 2009 at 08:30:54AM +0100, Fajran Iman Rusadi wrote:
2009/11/13 yaspu...@yahoo.co.id:
error: in function 'int main()':
error: cout was not declared in this scope
error: endl -,,-
Saya akan coba seperti yang Anda tunjukkan.
cin, cout, endl itu ada di dalam
On 11/13/2009 04:39 PM, yaspu...@yahoo.co.id wrote:
On Fri, Nov 13, 2009 at 08:30:54AM +0100, Fajran Iman Rusadi wrote:
2009/11/13yaspu...@yahoo.co.id:
error: in function 'int main()':
error: cout was not declared in this scope
error: endl -,,-
Saya akan coba seperti yang Anda
Sejak gcc 4.0.x, iostream.h diberikan warnings.
Sejak gcc 4.1.x kalau ngga salah, iostream.h di drop dari standard header.
Eko.
2009/11/13 Dichi Al Faridi di...@alfaridi.info:
On 11/13/2009 04:39 PM, yaspu...@yahoo.co.id wrote:
On Fri, Nov 13, 2009 at 08:30:54AM +0100, Fajran Iman Rusadi
Klo boleh tau, sebelumnya kau compile di compiler apa? jujur ane ga yakin
kalo pake gnu, soalnya AFAIK, setelah tahun 1998, C++ distandarisasi
(ANSI). Salah satu standar yang digunakan adalah saat pemanggilan standar
library seperti iostream yang asalnya :
# include iostream.h
menjadi