Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 stupid error
Index -> Programming, C++ -> C++ Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Prince




PostPosted: 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
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Tue Jun 10, 2003 10:48 pm   Post subject: (No subject)

suppost to be
code:

#include <iostream>


you got your brackets wrong Wink [/code]
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Homer_simpson




PostPosted: Tue Jun 10, 2003 10:55 pm   Post subject: (No subject)

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




PostPosted: Tue Jun 10, 2003 11:08 pm   Post subject: (No subject)

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

just use

(iostream)

note: replace the brackets with arrow brackets
Prince




PostPosted: Wed Jun 11, 2003 10:14 am   Post subject: (No subject)

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




PostPosted: Wed Jun 11, 2003 5:06 pm   Post subject: (No subject)

forum treats all <>s as HTML tags Confused thats why
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Homer_simpson




PostPosted: Wed Jun 11, 2003 5:24 pm   Post subject: (No subject)

there we go

code:
#include <iostream.h>
Display posts from previous:   
   Index -> Programming, C++ -> C++ Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 7 Posts ]
Jump to:   


Style:  
Search: