谷歌面试题
摘要:
有四个线程1、2、3、4。线程1的功能就是输出1,线程2的功能就是输出2,以此类推.........现在有四个文件ABCD。初始都为空。现要让四个文件呈如下格式:A:1 2 3 4 1 2....B:2 3 4 1 2 3....C:3 4 1 2 3 4....D:4 1 2 3 4 1....请设计程序。#include <stdio.h>#include <stdlib.h>#include <iostream> #include <string> #include <stack> #include <windows.h& 阅读全文
posted @ 2013-05-26 11:36 lzm风雨无阻 阅读(362) 评论(0) 推荐(0) 编辑