Error message

Apr 18, 2013 at 1:57am
This error message pops up, im confoused
fatal error: iostream: No such file or directory
compilation terminated.


1
2
3
4
5
6
7
8
9
10
11
#include <iostream>

using namespace std;

int main()
{
    int mynumber;
    mynumber = 10;
    cout << mynumber << endl;
    return 0;
}
Apr 18, 2013 at 2:05am
rebuild solution or else create a new project to try again?
Apr 18, 2013 at 5:03am
have u checked your source file extension? make sure it is .cpp and not .c
Topic archived. No new replies allowed.