最近想到了以前不会的,但又记不太清 , 所以 就先写在这里面 以后也好找。
1 string[]和char* [];
2 double 表示1<<64;
#include<bits/stdc++.h>
using namespace std;
int main()
{
double n = 1 << 63;
// while(cin>>n)
std::cout << std::setprecision(22) << n << '\n';
return 0;
}
3.将friend去掉后必须在后面加const,有friend则不需要,具体的。。。 也不太明白,等有时间了再弄