摘要:
优化了一些算法 #pragma once #include #include #include #define OVERFLOWED 1E-12 class Matrix { public: Matrix(int m, int n); //构建一个m*n的全零矩阵 Matrix(int n); //构建一个n*n的... 阅读全文
posted @ 2016-11-04 18:57
啊王会
阅读(17895)
评论(2)
推荐(2)
摘要:
首先atoi和strtol都是c里面的函数,他们都可以将字符串转为int,它们的参数都是const char*,因此在用string时,必须调c_str()方法将其转为char*的字符串。或者atof,strtod将字符串转为double,它们都从字符串开始寻找数字或者正负号或者小数点,然后遇到非法 阅读全文
posted @ 2016-11-04 14:11
啊王会
阅读(41191)
评论(0)
推荐(1)

浙公网安备 33010602011771号