Hej
Jeg har hentet devcpp4970-gcc32.exe
Når jeg prøver at kompile:
#include <iostream>
using namespace std;
int main()
{
cout << "Hello world!";
return 0;
}
fra http://www.udvikleren.dk/article.php?aid=120&techid=1
Kommer der en masse fejl, de første par:
Linie:
1 C:\\Documents and Settings\\FreeSoft\\Skrivebord\\C++\\main.cpp In file included from main.cpp
28 C:\\Dev-Cpp\\include\\c++\\iostream:44 bits/c++config.h: No such file or directory.
44 C:\\Dev-Cpp\\include\\c++\\ios In file included from C:/Dev-Cpp/include/c++/ios
45 C:\\Dev-Cpp\\include\\c++\\ostream from C:/Dev-Cpp/include/c++/ostream
Håber I kan hjælpe for jeg vil meget gerne prøv at lege lidt med c++
Mvh Kim
_______________________________
http://thefreeworld.frac.dk
Prøv skriv #include <iostream.h>
istedet for #include <iostream>
Med Venlig Hilsen: CHadi
http://chadi.h4f.dk
Så kommer der disse fejl:
22 C:\\Documents and Settings\\FreeSoft\\Skrivebord\\C++\\main.cpp:1
iostream.h: No such file or directory.
C:\\Documents and Settings\\FreeSoft\\Skrivebord\\C++\\main.cpp
[Warning] In function `int main()':
7 C:\\Documents and Settings\\FreeSoft\\Skrivebord\\C++\\main.cpp
`cout' undeclared (first use this function)
(Each undeclared identifier is reported only once for each function
C:\\Documents and Settings\\FreeSoft\\Skrivebord\\C++\\Makefile.win
[Build Error] [main.o] Error 1
men i Borland C++Builder 6 kommer der ikke nogen fejl....
_______________________________
http://thefreeworld.frac.dk[Redigeret d. 20/09-03 16:31:49 af Kim Rasmussen]