#include<cstdlib>関数に必要な by を含める必要がabs()あることに気付きましたabs()。
#include<iostream>
using namespace std;
int main()
{
int result;
result = abs(-10);
cout << result << "\n";
return 0;
}
#include<cstdlib>重要なヘッダー ( )を忘れたのに、このコードがまだ機能するのはなぜですか?