hulkhagen
Hallo Welt.
Dies ist eins der am meisten programmierten Programme. Ich selbst programmiere nun schon seit etwas längerer Zeit C++ und bis jetzt hat dieses Programm immer geklappt. Bisher arbeitete ich jedoch auf Linux. Nun bin versuche ich auf Windows (XP, SP2) den gleichen Code auszuführen und benutze dafür Dev-C++ (4.9.9.2).
Mein Code:
#include <iostream>
using namespace std;
int main() {
cout << "Hallo, Welt!"<<endl;
return 0; }
Sieht eigentlich ganz korrekt aus. Aber iostream verursacht eine Unmenge an Fehlern, die ich nicht deuten kann. Wenn ich #include <iostream> auskommentiere, bleibt der Fehler:
`cout' undeclared (first use this function)
übrig.
Mit #include <iostream> ergeben sich jedoch folgende Fehlermeldungen:
Compiler: Default compiler
Führt g++.exe... aus
g++.exe "C:\Dokumente und Einstellungen\Hagen\Eigene Dateien\C\versuch.cpp" -o "C:\Dokumente und Einstellungen\Hagen\Eigene Dateien\C\versuch.exe" -I"E:\Programme\Dev-Cpp\include\c++" -I"E:\Programme\Dev-Cpp\include\c++\mingw32" -I"E:\Programme\Dev-Cpp\include\c++\backward" -I"E:\Programme\Dev-Cpp\include" -L"E:\Programme\Dev-Cpp\lib"
In file included from E:/Programme/Dev-Cpp/include/c++/bits/basic_ios.h:41,
from E:/Programme/Dev-Cpp/include/c++/ios:51,
from E:/Programme/Dev-Cpp/include/c++/ostream:45,
from E:/Programme/Dev-Cpp/include/c++/iostream:45,
from C:\Dokumente und Einstellungen\Hagen\Eigene Dateien\C\versuch.cpp:1:
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h: In constructor `std::numpunct_byname<_CharT>::numpunct_byname(const char*, size_t)':
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h:564: error: there are no arguments to `_S_create_c_locale' that depend on a template parameter, so a declaration of `_S_create_c_locale' must be available
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h:564: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h:565: error: there are no arguments to `_M_initialize_numpunct' that depend on a template parameter, so a declaration of `_M_initialize_numpunct' must be available
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h: In destructor `virtual std::numpunct_byname<_CharT>::~numpunct_byname()':
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h:571: error: there are no arguments to `_S_destroy_c_locale' that depend on a template parameter, so a declaration of `_S_destroy_c_locale' must be available
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h: In constructor `std::collate_byname<_CharT>::collate_byname(const char*, size_t)':
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h:928: error: `_M_c_locale_collate' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h:928: error: (Each undeclared identifier is reported only once for each function it appears in.)
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h:928: error: `_S_c_locale' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h:929: error: there are no arguments to `_S_destroy_c_locale' that depend on a template parameter, so a declaration of `_S_destroy_c_locale' must be available
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h:930: error: there are no arguments to `_S_create_c_locale' that depend on a template parameter, so a declaration of `_S_create_c_locale' must be available
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h: In constructor `std::moneypunct_byname<_CharT, _Intl>::moneypunct_byname(const char*, size_t)':
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h:1520: error: there are no arguments to `_S_create_c_locale' that depend on a template parameter, so a declaration of `_S_create_c_locale' must be available
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h:1521: error: there are no arguments to `_M_initialize_moneypunct' that depend on a template parameter, so a declaration of `_M_initialize_moneypunct' must be available
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h: In destructor `virtual std::moneypunct_byname<_CharT, _Intl>::~moneypunct_byname()':
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h:1527: error: there are no arguments to `_S_destroy_c_locale' that depend on a template parameter, so a declaration of `_S_destroy_c_locale' must be available
In file included from E:/Programme/Dev-Cpp/include/c++/bits/basic_ios.h:41,
from E:/Programme/Dev-Cpp/include/c++/ios:51,
from E:/Programme/Dev-Cpp/include/c++/ostream:45,
from E:/Programme/Dev-Cpp/include/c++/iostream:45,
from C:\Dokumente und Einstellungen\Hagen\Eigene Dateien\C\versuch.cpp:1:
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h: In constructor `std::messages_byname<_CharT>::messages_byname(const char*, size_t)':
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h:1756: error: `_M_name_messages' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h:1757: error: `_M_c_locale_messages' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h:1757: error: `_S_c_locale' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h:1758: error: there are no arguments to `_S_destroy_c_locale' that depend on a template parameter, so a declaration of `_S_destroy_c_locale' must be available
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h:1759: error: there are no arguments to `_S_create_c_locale' that depend on a template parameter, so a declaration of `_S_create_c_locale' must be available
In file included from E:/Programme/Dev-Cpp/include/c++/limits:48,
from E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.tcc:43,
from E:/Programme/Dev-Cpp/include/c++/locale:46,
from E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc:37,
from E:/Programme/Dev-Cpp/include/c++/ostream:275,
from E:/Programme/Dev-Cpp/include/c++/iostream:45,
from C:\Dokumente und Einstellungen\Hagen\Eigene Dateien\C\versuch.cpp:1:
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h: At global scope:
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:82: error: expected init-declarator before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:82: error: expected `;' before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:86: error: expected init-declarator before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:86: error: expected `;' before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:90: error: expected init-declarator before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:90: error: expected `;' before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:94: error: expected init-declarator before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:94: error: expected `;' before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:99: error: expected init-declarator before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:99: error: expected `;' before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:103: error: expected init-declarator before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:103: error: expected `;' before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:107: error: expected init-declarator before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:107: error: expected `;' before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:111: error: expected init-declarator before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:111: error: expected `;' before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:116: error: expected init-declarator before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:116: error: expected `;' before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:120: error: expected init-declarator before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:120: error: expected `;' before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:124: error: expected init-declarator before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:124: error: expected `;' before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:128: error: expected init-declarator before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:128: error: expected `;' before "_iec559_consts"
In file included from E:/Programme/Dev-Cpp/include/c++/locale:46,
from E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc:37,
from E:/Programme/Dev-Cpp/include/c++/ostream:275,
from E:/Programme/Dev-Cpp/include/c++/iostream:45,
from C:\Dokumente und Einstellungen\Hagen\Eigene Dateien\C\versuch.cpp:1:
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.tcc: In member function `_InIter std::num_get<_CharT, _InIter>::_M_extract_float(_InIter, _InIter, std::ios_base&, std::_Ios_Iostate&, std::string&) const':
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.tcc:217: error: there are no arguments to `__verify_grouping' that depend on a template parameter, so a declaration of `__verify_grouping' must be available
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.tcc: In member function `_InIter std::num_get<_CharT, _InIter>::_M_extract_int(_InIter, _InIter, std::ios_base&, std::_Ios_Iostate&, std::string&, int&) const':
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.tcc:368: error: there are no arguments to `__verify_grouping' that depend on a template parameter, so a declaration of `__verify_grouping' must be available
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.tcc: In member function `virtual _InIter std::money_get<_CharT, _InIter>::do_get(_InIter, _InIter, bool, std::ios_base&, std::_Ios_Iostate&, long double&) const':
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.tcc:977: error: there are no arguments to `__convert_to_v' that depend on a template parameter, so a declaration of `__convert_to_v' must be available
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.tcc: In member function `virtual _InIter std::money_get<_CharT, _InIter>::do_get(_InIter, _InIter, bool, std::ios_base&, std::_Ios_Iostate&, std::basic_string<_CharT, std::char_traits<_CharT>, std::allocator<_CharT> >&) const':
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.tcc:1181: error: there are no arguments to `__verify_grouping' that depend on a template parameter, so a declaration of `__verify_grouping' must be available
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.tcc: In member function `virtual _OutIter std::money_put<_CharT, _OutIter>::do_put(_OutIter, bool, std::ios_base&, _CharT, long double) const':
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.tcc:1228: error: there are no arguments to `__convert_from_v' that depend on a template parameter, so a declaration of `__convert_from_v' must be available
In file included from E:/Programme/Dev-Cpp/include/c++/ostream:275,
from E:/Programme/Dev-Cpp/include/c++/iostream:45,
from C:\Dokumente und Einstellungen\Hagen\Eigene Dateien\C\versuch.cpp:1:
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc: In member function `std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(bool)':
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc:152: error: `_M_fnumput' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc:152: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc: In member function `std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(long int)':
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc:179: error: `_M_fnumput' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc:179: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc: In member function `std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int)':
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc:214: error: `_M_fnumput' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc:214: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc: In member function `std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(long long int)':
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc:242: error: `_M_fnumput' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc:242: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc: In member function `std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(long long unsigned int)':
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc:278: error: `_M_fnumput' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc:278: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc: In member function `std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(double)':
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc:304: error: `_M_fnumput' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc:304: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc: In member function `std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(long double)':
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc:329: error: `_M_fnumput' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc:329: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc: In member function `std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(const void*)':
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc:354: error: `_M_fnumput' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc:354: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc: In member function `std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::put(_CharT)':
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc:377: error: there are no arguments to `rdbuf' that depend on a template parameter, so a declaration of `rdbuf' must be available
In file included from E:/Programme/Dev-Cpp/include/c++/istream:297,
from E:/Programme/Dev-Cpp/include/c++/iostream:46,
from C:\Dokumente und Einstellungen\Hagen\Eigene Dateien\C\versuch.cpp:1:
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(bool&)':
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:117: error: `_M_fnumget' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:117: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(short int&)':
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:145: error: `_M_fnumget' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:145: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(short unsigned int&)':
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:181: error: `_M_fnumget' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:181: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(int&)':
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:209: error: `_M_fnumget' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:209: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(unsigned int&)':
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:245: error: `_M_fnumget' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:245: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(long int&)':
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:272: error: `_M_fnumget' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:272: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(long unsigned int&)':
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:299: error: `_M_fnumget' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:299: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(long long int&)':
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:327: error: `_M_fnumget' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:327: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(long long unsigned int&)':
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:354: error: `_M_fnumget' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:354: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(float&)':
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:382: error: `_M_fnumget' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:382: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(double&)':
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:409: error: `_M_fnumget' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:409: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(long double&)':
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:436: error: `_M_fnumget' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:436: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(void*&)':
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:463: error: `_M_fnumget' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:463: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
Ausführung beendet
Vielleicht von euch jemand eine Idee, was falsch ist und was ich dagegen tun kann.
Danke im Vorraus
Dies ist eins der am meisten programmierten Programme. Ich selbst programmiere nun schon seit etwas längerer Zeit C++ und bis jetzt hat dieses Programm immer geklappt. Bisher arbeitete ich jedoch auf Linux. Nun bin versuche ich auf Windows (XP, SP2) den gleichen Code auszuführen und benutze dafür Dev-C++ (4.9.9.2).
Mein Code:
#include <iostream>
using namespace std;
int main() {
cout << "Hallo, Welt!"<<endl;
return 0; }
Sieht eigentlich ganz korrekt aus. Aber iostream verursacht eine Unmenge an Fehlern, die ich nicht deuten kann. Wenn ich #include <iostream> auskommentiere, bleibt der Fehler:
`cout' undeclared (first use this function)
übrig.
Mit #include <iostream> ergeben sich jedoch folgende Fehlermeldungen:
Compiler: Default compiler
Führt g++.exe... aus
g++.exe "C:\Dokumente und Einstellungen\Hagen\Eigene Dateien\C\versuch.cpp" -o "C:\Dokumente und Einstellungen\Hagen\Eigene Dateien\C\versuch.exe" -I"E:\Programme\Dev-Cpp\include\c++" -I"E:\Programme\Dev-Cpp\include\c++\mingw32" -I"E:\Programme\Dev-Cpp\include\c++\backward" -I"E:\Programme\Dev-Cpp\include" -L"E:\Programme\Dev-Cpp\lib"
In file included from E:/Programme/Dev-Cpp/include/c++/bits/basic_ios.h:41,
from E:/Programme/Dev-Cpp/include/c++/ios:51,
from E:/Programme/Dev-Cpp/include/c++/ostream:45,
from E:/Programme/Dev-Cpp/include/c++/iostream:45,
from C:\Dokumente und Einstellungen\Hagen\Eigene Dateien\C\versuch.cpp:1:
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h: In constructor `std::numpunct_byname<_CharT>::numpunct_byname(const char*, size_t)':
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h:564: error: there are no arguments to `_S_create_c_locale' that depend on a template parameter, so a declaration of `_S_create_c_locale' must be available
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h:564: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h:565: error: there are no arguments to `_M_initialize_numpunct' that depend on a template parameter, so a declaration of `_M_initialize_numpunct' must be available
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h: In destructor `virtual std::numpunct_byname<_CharT>::~numpunct_byname()':
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h:571: error: there are no arguments to `_S_destroy_c_locale' that depend on a template parameter, so a declaration of `_S_destroy_c_locale' must be available
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h: In constructor `std::collate_byname<_CharT>::collate_byname(const char*, size_t)':
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h:928: error: `_M_c_locale_collate' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h:928: error: (Each undeclared identifier is reported only once for each function it appears in.)
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h:928: error: `_S_c_locale' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h:929: error: there are no arguments to `_S_destroy_c_locale' that depend on a template parameter, so a declaration of `_S_destroy_c_locale' must be available
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h:930: error: there are no arguments to `_S_create_c_locale' that depend on a template parameter, so a declaration of `_S_create_c_locale' must be available
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h: In constructor `std::moneypunct_byname<_CharT, _Intl>::moneypunct_byname(const char*, size_t)':
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h:1520: error: there are no arguments to `_S_create_c_locale' that depend on a template parameter, so a declaration of `_S_create_c_locale' must be available
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h:1521: error: there are no arguments to `_M_initialize_moneypunct' that depend on a template parameter, so a declaration of `_M_initialize_moneypunct' must be available
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h: In destructor `virtual std::moneypunct_byname<_CharT, _Intl>::~moneypunct_byname()':
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h:1527: error: there are no arguments to `_S_destroy_c_locale' that depend on a template parameter, so a declaration of `_S_destroy_c_locale' must be available
In file included from E:/Programme/Dev-Cpp/include/c++/bits/basic_ios.h:41,
from E:/Programme/Dev-Cpp/include/c++/ios:51,
from E:/Programme/Dev-Cpp/include/c++/ostream:45,
from E:/Programme/Dev-Cpp/include/c++/iostream:45,
from C:\Dokumente und Einstellungen\Hagen\Eigene Dateien\C\versuch.cpp:1:
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h: In constructor `std::messages_byname<_CharT>::messages_byname(const char*, size_t)':
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h:1756: error: `_M_name_messages' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h:1757: error: `_M_c_locale_messages' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h:1757: error: `_S_c_locale' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h:1758: error: there are no arguments to `_S_destroy_c_locale' that depend on a template parameter, so a declaration of `_S_destroy_c_locale' must be available
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.h:1759: error: there are no arguments to `_S_create_c_locale' that depend on a template parameter, so a declaration of `_S_create_c_locale' must be available
In file included from E:/Programme/Dev-Cpp/include/c++/limits:48,
from E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.tcc:43,
from E:/Programme/Dev-Cpp/include/c++/locale:46,
from E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc:37,
from E:/Programme/Dev-Cpp/include/c++/ostream:275,
from E:/Programme/Dev-Cpp/include/c++/iostream:45,
from C:\Dokumente und Einstellungen\Hagen\Eigene Dateien\C\versuch.cpp:1:
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h: At global scope:
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:82: error: expected init-declarator before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:82: error: expected `;' before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:86: error: expected init-declarator before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:86: error: expected `;' before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:90: error: expected init-declarator before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:90: error: expected `;' before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:94: error: expected init-declarator before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:94: error: expected `;' before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:99: error: expected init-declarator before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:99: error: expected `;' before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:103: error: expected init-declarator before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:103: error: expected `;' before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:107: error: expected init-declarator before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:107: error: expected `;' before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:111: error: expected init-declarator before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:111: error: expected `;' before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:116: error: expected init-declarator before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:116: error: expected `;' before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:120: error: expected init-declarator before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:120: error: expected `;' before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:124: error: expected init-declarator before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:124: error: expected `;' before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:128: error: expected init-declarator before "_iec559_consts"
E:/Programme/Dev-Cpp/include/c++/mingw32/bits/cpu_limits.h:128: error: expected `;' before "_iec559_consts"
In file included from E:/Programme/Dev-Cpp/include/c++/locale:46,
from E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc:37,
from E:/Programme/Dev-Cpp/include/c++/ostream:275,
from E:/Programme/Dev-Cpp/include/c++/iostream:45,
from C:\Dokumente und Einstellungen\Hagen\Eigene Dateien\C\versuch.cpp:1:
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.tcc: In member function `_InIter std::num_get<_CharT, _InIter>::_M_extract_float(_InIter, _InIter, std::ios_base&, std::_Ios_Iostate&, std::string&) const':
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.tcc:217: error: there are no arguments to `__verify_grouping' that depend on a template parameter, so a declaration of `__verify_grouping' must be available
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.tcc: In member function `_InIter std::num_get<_CharT, _InIter>::_M_extract_int(_InIter, _InIter, std::ios_base&, std::_Ios_Iostate&, std::string&, int&) const':
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.tcc:368: error: there are no arguments to `__verify_grouping' that depend on a template parameter, so a declaration of `__verify_grouping' must be available
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.tcc: In member function `virtual _InIter std::money_get<_CharT, _InIter>::do_get(_InIter, _InIter, bool, std::ios_base&, std::_Ios_Iostate&, long double&) const':
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.tcc:977: error: there are no arguments to `__convert_to_v' that depend on a template parameter, so a declaration of `__convert_to_v' must be available
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.tcc: In member function `virtual _InIter std::money_get<_CharT, _InIter>::do_get(_InIter, _InIter, bool, std::ios_base&, std::_Ios_Iostate&, std::basic_string<_CharT, std::char_traits<_CharT>, std::allocator<_CharT> >&) const':
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.tcc:1181: error: there are no arguments to `__verify_grouping' that depend on a template parameter, so a declaration of `__verify_grouping' must be available
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.tcc: In member function `virtual _OutIter std::money_put<_CharT, _OutIter>::do_put(_OutIter, bool, std::ios_base&, _CharT, long double) const':
E:/Programme/Dev-Cpp/include/c++/bits/locale_facets.tcc:1228: error: there are no arguments to `__convert_from_v' that depend on a template parameter, so a declaration of `__convert_from_v' must be available
In file included from E:/Programme/Dev-Cpp/include/c++/ostream:275,
from E:/Programme/Dev-Cpp/include/c++/iostream:45,
from C:\Dokumente und Einstellungen\Hagen\Eigene Dateien\C\versuch.cpp:1:
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc: In member function `std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(bool)':
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc:152: error: `_M_fnumput' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc:152: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc: In member function `std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(long int)':
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc:179: error: `_M_fnumput' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc:179: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc: In member function `std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int)':
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc:214: error: `_M_fnumput' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc:214: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc: In member function `std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(long long int)':
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc:242: error: `_M_fnumput' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc:242: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc: In member function `std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(long long unsigned int)':
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc:278: error: `_M_fnumput' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc:278: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc: In member function `std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(double)':
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc:304: error: `_M_fnumput' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc:304: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc: In member function `std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(long double)':
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc:329: error: `_M_fnumput' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc:329: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc: In member function `std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(const void*)':
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc:354: error: `_M_fnumput' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc:354: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc: In member function `std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::put(_CharT)':
E:/Programme/Dev-Cpp/include/c++/bits/ostream.tcc:377: error: there are no arguments to `rdbuf' that depend on a template parameter, so a declaration of `rdbuf' must be available
In file included from E:/Programme/Dev-Cpp/include/c++/istream:297,
from E:/Programme/Dev-Cpp/include/c++/iostream:46,
from C:\Dokumente und Einstellungen\Hagen\Eigene Dateien\C\versuch.cpp:1:
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(bool&)':
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:117: error: `_M_fnumget' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:117: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(short int&)':
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:145: error: `_M_fnumget' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:145: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(short unsigned int&)':
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:181: error: `_M_fnumget' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:181: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(int&)':
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:209: error: `_M_fnumget' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:209: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(unsigned int&)':
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:245: error: `_M_fnumget' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:245: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(long int&)':
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:272: error: `_M_fnumget' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:272: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(long unsigned int&)':
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:299: error: `_M_fnumget' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:299: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(long long int&)':
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:327: error: `_M_fnumget' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:327: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(long long unsigned int&)':
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:354: error: `_M_fnumget' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:354: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(float&)':
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:382: error: `_M_fnumget' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:382: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(double&)':
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:409: error: `_M_fnumget' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:409: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(long double&)':
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:436: error: `_M_fnumget' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:436: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(void*&)':
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:463: error: `_M_fnumget' undeclared (first use this function)
E:/Programme/Dev-Cpp/include/c++/bits/istream.tcc:463: error: there are no arguments to `_M_check_facet' that depend on a template parameter, so a declaration of `_M_check_facet' must be available
Ausführung beendet
Vielleicht von euch jemand eine Idee, was falsch ist und was ich dagegen tun kann.
Danke im Vorraus
)