
软件学院作业
文章平均质量分 90
yexianyi
Software Architect @ Siemens
Email: yexianyi@hotmail.com
Linkedin: http://cn.linkedin.com/in/yexianyi/
Github: https://github.com/yexianyi/
展开
-
软件工程II(管理)_第三次作业(更正版)
软件工程II(管理)_第三次作业(更正版)Homework: Measuring CohesionCalculate the functional cohesion measures for the following code fragment Answer:Graph, under showed, showing the dependencies betw原创 2008-11-09 23:19:00 · 1274 阅读 · 0 评论 -
北航软件学院《一级实践》实验报告(模板)
北航软件学院《一级实践》实验报告学号: 姓名: 第 周内容训练 本周阅读源代码代码的功能简述 阅读的收获 阅读中碰到的主要困难 针对本周训练内容自己设计的案例案例的主要功能 用到的基本知识原创 2008-11-11 19:01:00 · 1453 阅读 · 0 评论 -
异质树的实现——代码+实验报告
异质树的实现——代码+实验报告 // heterogeneityTree2.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include #include #include #include cla原创 2008-11-12 09:52:00 · 4003 阅读 · 0 评论 -
PV操作原理概述
PV操作原理概述PV原语的含义 P操作和V操作是不可终端的程序段,成为原语,PV原语及信号量的概念都是由荷兰科学家E.W.Dijkstra提出的。信号量sem是一个整数。Sem大于等于零时代表可供并发进程使用的资源实体数,但sem小于零时则表示正在等待使用临街区的进程数。 P原语操作的动作是:(1) sem减 1 ;(2) 若sem减 1 后原创 2008-11-19 21:58:00 · 2266 阅读 · 0 评论 -
PV操作(生产者-消费者问题)-1【转帖】
PV操作(生产者-消费者问题)-1【转帖】 /* caoyuan 2006-12-26 PV operation producer and consumer */#include #include using namespace std; const unsigned short SIZE_OF_BUFFER = 10转载 2008-11-19 21:05:00 · 3104 阅读 · 5 评论 -
用多线程实现“生产者-消费者问题”(代码+实验报告)
用多线程实现“生产者-消费者问题”(代码+实验报告) #include #include #include #include using namespace std;typedef int semaphore; /* 信号量是一种特殊的整型变量 */ const int SIZ原创 2008-11-25 20:37:00 · 10116 阅读 · 2 评论 -
使用C/C++实现Socket聊天程序(代码+实验报告)
使用C/C++实现Socket聊天程序Initsock.h文件 // initsock.h文件 #include #include #include #include #pragma comment(lib, "WS2_32") // 链接到WS2_32.lib class CInitSock {publi原创 2008-12-10 00:44:00 · 23956 阅读 · 16 评论