1 //ye kia joke hai
2 #include <iostream>
3 using std::cout;
3 using std::cin;
4 using std::endl;
5
6 int main ()
7 {
8 cout<< "Yaar is ko compile ker day, na tang ker...." ;
9 return 0;
10 }
The errors ares
E:\code.c|2|iostream: No such file or directory|
E:\code.c|3|error: syntax error before "std"|
E:\code.c||In function `main':|
E:\code.c|9|error: `cout' undeclared (first use in this function)|
E:\code.c|9|error: (Each undeclared identifier is reported only once|
E:\code.c|9|error: for each function it appears in.)|
||=== Build finished: 5 errors, 0 warnings ===|
Now also plz listen this
I am having 4 drives of my Hard disk, named as C, D, E, F.........
I have made a folder named as myProgs in E drive..............the same code which is given above if I save it in Drive C furthur in Program file, the C::B compile it well, where as in any other drives it generates the errors which I have mentioned......................Now I hope you will understand completely
thanks and regards