10 2013 档案
摘要:#include int m,s,n;int i,j;int a[100][100];int sf(int n){ if(n%2!=0) printf("输入参数不合法!"); else if(n==2) { a[0][0]=1; a[0][1]=2; a[1][0]=2; a[1][1...
阅读全文
摘要:#include "stdafx.h"#include#includeusing namespace std;int tile=0;int *(*board) = NULL;//定义指向指针的指针用于动态的创建用于存储骨牌号的数组int main(){ void chessBoard(int tr,...
阅读全文
摘要:《多核程序设计技术》第五章——线程api,一个使用windows事件的线程应用程序,vs2008下编译调试通过。// 线程通信机制.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#define NUM_THREADS 10#include #include #i...
阅读全文
浙公网安备 33010602011771号