摘要: 要理解static,就必须要先理解另一个与之相对的关键字,很多人可能都还不知道有这个关键字,那就是auto,其实我们通常声明的不用static修饰的变量,都是auto的,因为它是默认的,就象short和long总是默认为int一样;我们通常声明一个变量: int a; string s; 其实就是: auto int a; auto str... 阅读全文
posted @ 2007-08-29 12:27 yg 阅读(799) 评论(0) 推荐(0) 编辑
摘要: 1#include 2#include 3#define MINVALUE 1e-004 4using namespace std; 5 6float num[24][4]; 7int opetator[4] = {0,1,2,3}; 8int op[200][5]; 9float cmp1[4]={0}; 10 11void intit(float... 阅读全文
posted @ 2007-08-23 11:21 yg 阅读(307) 评论(0) 推荐(0) 编辑