|
|
вернуться в форумWhy does it return compilation error? I'm using GCC compilator. #include <iostream> #include <vector> #include <cmath> using namespace std; int main() { double number; vector<double> numbers; while (cin >> number) numbers.push_back(number); cout.precision(4); cout.setf(std::ios::fixed); for (auto iter = numbers.rbegin(); iter != numbers.rend(); ++iter) cout << sqrt(*iter) << endl; return 0; } Re: Why does it return compilation error? I'm using GCC compilator. Послано vzhanm 28 апр 2024 12:10 g++ for C++ code |
|
|