如何提高双精度浮点数的运算精度??
# include int main () { double pai; double r,S,C; std::cout << "请输入圆的半径:(单位:cm)"; std::cin >> r; pai=3.1415926535; S =r*r*pai; C=…
指针的引用古怪的问题
代码如下: #define False 0 #define True 1 #define SIZE 10 typedef int Bool; typedef int ElemType; typedef struct Node{ ElemType key; struct N…
用DEV-C++能正确显示结果,但VS却报错,找不出原因。。。
#include #include #include void main() { int size; char str[] = {'a','b','c','d','','y','a','n','g','','n','a','o','','c','h','u','n',''}; v…