[Dev-C++] #include <iostream> => iostream: No such file or directory???
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Eduard K. <edu...@ar...> - 2004-03-20 20:30:36
|
Hello there,
I tryed to compile a simple "hello World!" code with Dev C++ 4.9.8.7 on a=
Win=20
2000 SP4 System. Here is the Source:
* #include <iostream>
*
* int main()
* {
* cout << "Hello World";
* return(0);
* }
and here is the Error(compile) log
### Compiler: Default compiler
### Building Makefile: "C:\Programme\B=FCro\Programmieren\Dev-Cpp\Projekt=
e\Makefile.win"
### Executing make...
### make.exe -f=20
"C:\Programme\B=FCro\Programmieren\Dev-Cpp\Projekte\Makefile.win" all
### g++.exe -c 1.cpp -o 1.o -
I"C:/Programme/B=FCro/Programmieren/Dev-Cpp/include/c++" -=20
"C:/Programme/B=FCro/Programmieren/Dev-Cpp/include/c++/mingw32" -
I"C:/Programme/B=FCro/Programmieren/Dev-### Cpp/include/c++/backward" -
I"C:/Programme/B=FCro/Programmieren/Dev-Cpp/include" =20
### 1.cpp:1:20: iostream: No such file or directory
### 1.cpp: In function `int main()':
### 1.cpp:5: `cout' undeclared (first use this function)
### 1.cpp:5: (Each undeclared identifier is reported only once for each=20
function it appears in.)
### make.exe: *** [1.o] Error 1
### Execution terminated
So what am I doing wrong. The same code is working on the Programming sch=
ool=20
computer. There we use Microsoft Visual C++ some version above 6.0.
Please be so kind and help me with this problem though i=20
can't work with Dev c++ when the simplest funktions don't work.
for further question do not hesitate to contact me.
Kind regards.
|