摘要: 有时候需要对blas库函数进行重写我写的一个函数为#include using namespace std;int main() { const int M = 4;//A的行数,C的行数 const int N = 2;//B的列数,C的列数 const int K = 3;//... 阅读全文
posted @ 2017-04-25 17:37 开往春天的拖拉机 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 有时候需要对blas库函数进行重写我写的一个函数为#include using namespace std;int main() { const int M = 4;//A的行数,C的行数 const int N = 2;//B的列数,C的列数 co... 阅读全文
posted @ 2017-04-25 17:37 开往春天的拖拉机 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 条件编译是一种很好的编译技巧。使用条件编译,让有的部分相当于没有条件编译的例子如下。#include #include using namespace std;#define ISint main() {//形式2 将#if 1 变成0 看效果#if 1 int k = 0;#else string... 阅读全文
posted @ 2017-04-25 15:09 开往春天的拖拉机 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 条件编译是一种很好的编译技巧。使用条件编译,让有的部分相当于没有条件编译的例子如下。#include #include using namespace std;#define ISint main() {//形式2 将#if 1 变成0 看效果#if 1 int k ... 阅读全文
posted @ 2017-04-25 15:09 开往春天的拖拉机 阅读(126) 评论(0) 推荐(0) 编辑