Computer Science Canada

stupid error

Author:  Prince [ Tue Jun 10, 2003 10:33 pm ]
Post subject:  stupid error

im gettin an error that says that its unable to run the program cus theres sumthin wrong wit line 2 (right after #include [iostream.h]) and theres nuthin on that line Confused... could it b the compiler (im usin Dev-C++) or is it sumthin else... or mayb my comp is jus bein gay

EDIT: omg i jus looked and i see no iostream.h file (theres an io.h, but thats not the same thing is it)... can sumone send this to me plz or tell me y Dev-C++ is bein so gay to me

EDIT 2: ok i found the iostream.h file but i still dont get this error... plz sumone explain

Author:  Tony [ Tue Jun 10, 2003 10:48 pm ]
Post subject: 

suppost to be
code:

#include <iostream>


you got your brackets wrong Wink [/code]

Author:  Homer_simpson [ Tue Jun 10, 2003 10:55 pm ]
Post subject: 

what brackets?!
you have to put #include <iostream.h>
not #include [iostream.h]

Author:  Catalyst [ Tue Jun 10, 2003 11:08 pm ]
Post subject: 

dont use (iostream.h)
this is the old and antiquated header

just use

(iostream)

note: replace the brackets with arrow brackets

Author:  Prince [ Wed Jun 11, 2003 10:14 am ]
Post subject: 

yes tony i kno the brackets wer wrong but if i put the arrow brackets they disappeared Confused

Author:  Tony [ Wed Jun 11, 2003 5:06 pm ]
Post subject: 

forum treats all <>s as HTML tags Confused thats why

Author:  Homer_simpson [ Wed Jun 11, 2003 5:24 pm ]
Post subject: 

there we go

code:
#include <iostream.h>


: