hellofriendz
December 20th, 2009, 06:08 PM
hey guys plz do help me... i'm in real trouble.....
always getting the error : No such file or directory
when i compile a simple prgm....
PROGRAM gedit abc.cpp#include<iostream.h>
main()
{
cout<<"Hello\n";
}
COMPILATION STEP
g++ abc.cpp
ERRORS
abc.cpp:1:21: error: iostream.h: No such file or directory
abc.cpp: In function ‘int main()’:
abc.cpp:4: error: ‘cout’ was not declared in this scope
:(:confused:
always getting the error : No such file or directory
when i compile a simple prgm....
PROGRAM gedit abc.cpp#include<iostream.h>
main()
{
cout<<"Hello\n";
}
COMPILATION STEP
g++ abc.cpp
ERRORS
abc.cpp:1:21: error: iostream.h: No such file or directory
abc.cpp: In function ‘int main()’:
abc.cpp:4: error: ‘cout’ was not declared in this scope
:(:confused: