#include <iostream.h>

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • abdulmahmud
    New Member
    • Nov 2008
    • 2

    #include <iostream.h>

    can anybody please tell me why my program in visual C++ 2008 is not running due error #include<iostre am.h>?
  • Ganon11
    Recognized Expert Specialist
    • Oct 2006
    • 3651

    #2
    You want:

    #include <iostream>

    instead.

    Comment

    • abdulmahmud
      New Member
      • Nov 2008
      • 2

      #3
      Thanks. I just did and also got a tip to add namespace std; which I hav done and no more error but I cant see my output window.

      Originally posted by Ganon11
      You want:

      #include <iostream>

      instead.

      Comment

      • arnaudk
        Contributor
        • Sep 2007
        • 425

        #4
        Originally posted by abdulmahmud
        I cant see my output window.
        Either you are not compiling it as a console application or you should add something like
        [code=cpp]
        std::cout << "Press Enter or Return to continue.\n";
        std::cin.get();
        [/code]
        or system("pause") ; in windows to pause the program before it exits.

        Comment

        Working...