Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Mar 2003
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Whatever I Try..

    Ok, i'm very interested in learning C++ and totally understand the 'Hello World Program' in C++.

    But everytime I try to compile (tried in Dev C++ and lcc win) it says

    iostream.h : File Not Found.

    I know its a header, but I thought it was one of those built into windows or something ?

    Thanx For and help in advance,

    Matt

  • #2
    New Coder
    Join Date
    Jun 2002
    Posts
    66
    Thanks
    0
    Thanked 0 Times in 0 Posts
    iostream.h usually comes with a C++ compiler. I've never used Dev-C++ before but I think they would include that, its a very common header.

    And make sure you surround it with < and >, not with quotes when including, since it is a standard header file.

  • #3
    Supreme Overlord Spookster's Avatar
    Join Date
    May 2002
    Location
    Marion, IA USA
    Posts
    6,278
    Thanks
    4
    Thanked 83 Times in 82 Posts
    Depending on your compiler you should include it as:

    #include<iostream>

    or

    #include<iostream.h>
    Spookster
    CodingForums Supreme Overlord
    All Hail Spookster

  • #4
    Regular Coder
    Join Date
    Feb 2003
    Location
    East Side/West Side
    Posts
    118
    Thanks
    0
    Thanked 0 Times in 0 Posts
    in Dev-C++ (my friend uses it), it's #include <iostream>
    Last edited by Phantom; 03-03-2003 at 02:40 AM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •