Thread: #include <iostream.h>

  1. #1
    Registered User
    Join Date
    Feb 2002
    Posts
    32

    #include <iostream.h>

    someone help me.... I have been using the Dev-C++ 4 compiler and i am having some trouble. when ever i put in #inclde <iostream.h> and use compile it reads that there is no such directory so i look in there include file to find that they did have

    iostream.h istream.h and ostream.h

    can someone plz help me or send me a better compiler
    [email protected]

    Thank you,
    Mike

  2. #2
    Unregistered
    Guest
    Its
    #include <iostream.h>
    you left out the u in include

  3. #3
    Registered User
    Join Date
    Feb 2002
    Posts
    32

    nope

    nope thats a typo on the message even if its spelled correctly it doesn't work lol
    thx neway
    Mike
    Using Microsoft Visual Studio C++ Compiler

  4. #4
    Unregistered
    Guest

    I have dev c++

    #include <iostream.h>
    someone help me.... I have been using the Dev-C++ 4 compiler and i am having some trouble. when ever i put in #inclde <iostream.h> and use compile it reads that there is no such directory so i look in there include file to find that they did have

    iostream.h istream.h and ostream.h

    can someone plz help me or send me a better compiler
    [email protected]

    Thank you,
    Mike

    I have dev c++ and it works great. I've used #include <iostream.h> many times and it always works. Maybe you accidentaly deleted that header file or all your header files, or maybe you moved them to where your compiler can't find them.
    The compiler works.

  5. #5
    Unregistered
    Guest

    I have dev c++

    I have dev c++ and it works great. I've used #include <iostream.h> many times and it always works. Maybe you accidentaly deleted that header file or all your header files, or maybe you moved them to where your compiler can't find them.
    The compiler works.

  6. #6
    "The Oldest Member Here" Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,039
    try re-downloading the compiler

  7. #7
    Registered User
    Join Date
    Feb 2002
    Posts
    32

    re

    yeah i been thinkin about it but i have a slow modem i let it sit over night

  8. #8
    looking for the truth moemen ahmed's Avatar
    Join Date
    Feb 2002
    Location
    Egypt
    Posts
    161

    try this one

    try to copy the header file "iostream.h" to the folder of your source file that ll contain it
    and then try:


    include "iostream.h"


    instead of:


    include <iostream.h>


    i wish it works!
    Last edited by moemen ahmed; 02-09-2002 at 06:16 PM.

  9. #9
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    your compiler is probably looking in the wrong place for the libraries. Check in your options that the specified directories are right.
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. 2d game
    By JordanCason in forum Game Programming
    Replies: 5
    Last Post: 12-08-2007, 10:08 PM
  2. MFC include BS
    By VirtualAce in forum Windows Programming
    Replies: 4
    Last Post: 10-31-2005, 12:44 PM
  3. dont konw what to do next.
    By negevy in forum C Programming
    Replies: 29
    Last Post: 09-09-2005, 03:06 PM
  4. #includes don't seem to be working
    By Inquirer in forum C++ Programming
    Replies: 12
    Last Post: 08-05-2002, 05:38 PM
  5. MFC Assertion Failure
    By maxthecat in forum Windows Programming
    Replies: 5
    Last Post: 08-01-2002, 09:58 AM