By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,431 Members | 1,739 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,431 IT Pros & Developers. It's quick & easy.

#include <iostream.h>

P: 2
can anybody please tell me why my program in visual C++ 2008 is not running due error #include<iostream.h>?
Nov 5 '08 #1
Share this Question
Share on Google+
3 Replies


Ganon11
Expert 2.5K+
P: 3,652
You want:

#include <iostream>

instead.
Nov 5 '08 #2

P: 2
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.

You want:

#include <iostream>

instead.
Nov 5 '08 #3

100+
P: 424
I cant see my output window.
Either you are not compiling it as a console application or you should add something like
Expand|Select|Wrap|Line Numbers
  1. std::cout << "Press Enter or Return to continue.\n";
  2. std::cin.get();
  3.  
or system("pause"); in windows to pause the program before it exits.
Nov 5 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.