1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

problem with header file

Discussion in 'C++' started by meegirl, Jul 1, 2011.

  1. meegirl

    meegirl New Member

    Joined:
    Jun 6, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    while trying to run a program why it says couldn't define include file IOSTREAM???
     
  2. gpk kishore

    gpk kishore New Member

    Joined:
    Jun 30, 2011
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    0
    iostream is a declaration for c++ programs
    if you are using ccompiler it will not run
    because c++ programs will not run in c compiler

    or suppose your program is not running in c++ compiler(eg:-turbo) if we consider
    go for 1) options menu
    select compiler|c++ options
    in the dialog box that appears select cpp always
    now
    you can run the program without errors
     

Share This Page