摘要: vector的定义:vector<typename> name;//可变长的数组 vector<int> array_int; vector<double> array_double等等 struct node { ................... } vector <node> array_ 阅读全文
posted @ 2020-01-05 23:08 薄眠抛却陈年事。 阅读(195) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <math.h> int main(){ //C语言中提供的实用的数学函数 double db=-12.56; double db2=12.56; printf("%.2f\n",fabs(db));//输出12.56 //floor()与ce 阅读全文
posted @ 2020-01-05 22:07 薄眠抛却陈年事。 阅读(134) 评论(0) 推荐(0) 编辑