摘要: ******** Test OneDArray ***********0 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 10 ******** Test TwoDArray ***********0 -1 -2 -3 -4 -5 -6 -7 1 0 -1 -2 -3 -4 阅读全文
posted @ 2017-03-21 20:07 souwang 阅读(318) 评论(0) 推荐(0) 编辑
摘要: #!/bin/sh for dir in * do if [ -d $dir ] ; then echo $dir sudo rm -rf $dir/Makefile sudo ln ./Makefile $dir/Makefile sudo chown william:william $dir/Makefile fi done... 阅读全文
posted @ 2017-03-20 20:42 souwang 阅读(143) 评论(0) 推荐(0) 编辑
摘要: Create Non Seqenced Link List :input -1 to exit : 10 China20 Korea30 American40 France50 German-1 CLinkSeqList Max Lenght = 5output all nodes in link 阅读全文
posted @ 2017-03-14 19:59 souwang 阅读(125) 评论(0) 推荐(0) 编辑
摘要: $ ./Ex_Seqlist theoperate is illegalcan'tfind the element you want to findcan'tbe found 01: 92: 93: 24: 35: 46: 67: 98: 99: 110: 811: 512: 21: 22: 33: 阅读全文
posted @ 2017-03-14 19:36 souwang 阅读(115) 评论(0) 推荐(0) 编辑
摘要: $ ./Ex_2DArray 4, 50 -1 -2 -3 -4 1 0 -1 -2 -3 2 1 0 -1 -2 3 2 1 0 -1 阅读全文
posted @ 2017-03-11 12:58 souwang 阅读(213) 评论(0) 推荐(0) 编辑
摘要: #include #include #include //SYSTEM INCLUDES #include using namespace std; typedef struct { int position_y; int position_x; int state; } MY_CLASS; typedef std::pair MY_PAIR; typedef std::... 阅读全文
posted @ 2017-03-02 16:31 souwang 阅读(216) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include using namespace std; int main() { std::vector line; for (int i = 0; i :: iterator as loop iterator: " ::iterator it; for (it = line.begin(); ... 阅读全文
posted @ 2017-03-02 16:22 souwang 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 最近在做并行计算, 应用的是典型的计算快速傅立叶变换 FFT, 程序设计的环境是 Window7, GTX 660ti 使用的软件操作是 CUDA 6.0, OpenCL1.1 , VC2005 现做规模为 2048 的 FFT 做512 次, 这样得到的结果用 matlab 来衡量程序计算结果的正 阅读全文
posted @ 2015-03-11 15:15 souwang 阅读(1320) 评论(0) 推荐(0) 编辑