Die Suche ergab 1 Treffer

von annegret
Do Dez 03, 2020 9:44 pm
Forum: C / C++
Thema: not declared in this scope
Antworten: 1
Zugriffe: 1782

not declared in this scope

Ich versuche mit g++ das folgende Programm zu kompilieren. Es gibt immer Fehlermeldung complex_abs was not declared in this scope. Kann jemand mir sagen, was ich falsch gemacht habe? Vielen Dank. #include <cassert> #include <iostream> #include <cmath> using namespace std; class complex { public: // ...