今天在调试代码的时候遇到错误,在Stack Overflow找到了前人踩过的坑,记录一下。
链接:https://stackoverflow.com/questions/14045643/error-ambiguates-old-declaration-double-rounddouble
#include <iostream>
#include <cmath>
using namespace std;
int round(double number);
int main
今天在调试代码的时候遇到错误,在Stack Overflow找到了前人踩过的坑,记录一下。
链接:https://stackoverflow.com/questions/14045643/error-ambiguates-old-declaration-double-rounddouble
#include <iostream>
#include <cmath>
using namespace std;
int round(double number);
int main