摘要: 总结:1. iostream类处理面向流的输入和输出。2. fstream类处理已命名文件的IO。3. stringstream类处理内存中字符串的IO。 阅读全文
posted @ 2015-06-02 14:57 -学以致用- 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 参考自:https://msdn.microsoft.com/en-us/library/hh873135.aspx#include #include #include using namespace concurrency;const int ROWS = 8;const int COLS = 9... 阅读全文
posted @ 2015-06-02 10:40 -学以致用- 阅读(949) 评论(0) 推荐(0) 编辑
摘要: 参考自:https://msdn.microsoft.com/en-us/library/hh873134.aspx#include #include using namespace concurrency;// 常规矩阵相乘计算void MultiplyWithOutAMP(){ int aMat... 阅读全文
posted @ 2015-06-02 10:12 -学以致用- 阅读(476) 评论(0) 推荐(0) 编辑
摘要: 参考自:https://msdn.microsoft.com/en-us/library/hh265136.aspx#include #include #include using namespace concurrency;const int size = 5;// C++AMP样例void Cp... 阅读全文
posted @ 2015-06-02 08:58 -学以致用- 阅读(746) 评论(0) 推荐(0) 编辑