hi,
ich habe heute erst mit cpp angefangen, ich habe mir ein cpp buch besorgt (Objektorientiertes Programmieren In C++ von rororo, das buch ist von '94)
ich habe dann in DevC++ folgende zeilen eingegeben:
ich kann den code nicht compilieren. meldung von devcpp:
2 D:\Programme\Dev-Cpp\include\c++\3.4.2\backward\iostream.h:31, from D:\Projekte\C++\lehnen.cpp In file included from D:/Programme/Dev-Cpp/include/c++/3.4.2/backward/iostream.h:31, from D:\Projekte\C++\lehnen.cpp
2 D:\Projekte\C++\lehnen.cpp from D:\Projekte\C++\lehnen.cpp
32:2 D:\Programme\Dev-Cpp\include\c++\3.4.2\backward\backward_warning.h #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
5 D:\Projekte\C++\lehnen.cpp `main' must return `int'
was habe ich falsch gemacht ?
was muss ich bedenken ?
hat sich seit der herausgabe dieses buches so viel in c++ geändert ?
mfg
caleb
ich habe heute erst mit cpp angefangen, ich habe mir ein cpp buch besorgt (Objektorientiertes Programmieren In C++ von rororo, das buch ist von '94)
ich habe dann in DevC++ folgende zeilen eingegeben:
Code:
//Cpp üben 01
#include <iostream.h>
void main(void)
{
cout << "Dieser Text wird in \nzwei Zeilen gedruckt!\n";
cout << "Fünf + elf= " << 5+11 << "\n";
}
ich kann den code nicht compilieren. meldung von devcpp:
2 D:\Programme\Dev-Cpp\include\c++\3.4.2\backward\iostream.h:31, from D:\Projekte\C++\lehnen.cpp In file included from D:/Programme/Dev-Cpp/include/c++/3.4.2/backward/iostream.h:31, from D:\Projekte\C++\lehnen.cpp
2 D:\Projekte\C++\lehnen.cpp from D:\Projekte\C++\lehnen.cpp
32:2 D:\Programme\Dev-Cpp\include\c++\3.4.2\backward\backward_warning.h #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
5 D:\Projekte\C++\lehnen.cpp `main' must return `int'
was habe ich falsch gemacht ?
was muss ich bedenken ?
hat sich seit der herausgabe dieses buches so viel in c++ geändert ?
mfg
caleb