#include <iostream>
using namespace std;
# define PI 3.1415926
#define NEWLINE '\n'
int main()
{
/* code */
double r = 5.0;
double circle;
int foo = 0;
auto bar = 8;
decltype(foo) dog = 9;
cout << "bar is:\n"<<bar<<endl;
cout<<"dog is:\n"<<dog<<endl;
circle = 2 * PI * r;
cout << circle;
cout << NEWLINE;
return 0;
}
C++基础(1)
最新推荐文章于 2023-08-15 11:56:51 发布