摘要:这是我给公司的同事培训c#时同事的提问的问题,我把问题归纳后写了出来。 问题 c#和vb.net 都是.net 中的一种编程语言,而对于.net 本身来说,无论用那种语言编写的程序,在编译器中都会转化成中间语言,而他们所使用的底层类库和支持服务都为一样的,都是建立和运行在microsoft .net framework sdk 之上的程序,所以我觉得对于c#和vb.net只是语言不用,实现和具体编......
摘要:c# programming guidlinessource:thinking in c#larry o’brien and bruce eckelprentice hallupper saddle river, new jersey 07458www.phptr.combegin:this appendix contains suggestions to help guide you......
算法讨论:哲学家就餐问题
in 1965, dijkstra posed and solved a synchronization problem he called thedining philosophers problem. ........ the problem can be stated quite simplyas follows. five philosophers are seated around a circular table. each philosopher has a plate of spaghetti. the spaghetti is so slippery that a philosopher needs two forks to eat it. between each pair of plates is one fork. the life of a philosopher consists of alternate periods of eating and thinking. when a philosopher gets hungry, she tries to acquire her left and rightfork, one at a time, in either order. if successful in acquiring two forks,she eats for a while, then puts down the forks and continues to think. thekey question is: can you write a program for each philosopher that does what it is supposed to do and never gets stuck? --from <operating systems: design and implementation> written by andrew s. tanenbaum typed by foolball :-pprogramme provided by ya: : 法一: 用公共文件,按照严格轮流执行: : #include <stdio.h>: : #include <stdlib.h>: : #include <unistd.h>: : #include <sys\type.h>: : #define n 5: : int i,j,t,status;: : file * f;...
下一页 摘要:vb6程序员:未来在哪里?(看破三个神话)原作者: builder.com.net占领市场的速度比原来预期的要稍微慢一些,但是,它向整个市场的渗透却是不可避免的,而且这个过程也不曾有过任何的停顿。许多分析人士都预言,在2003年的第三季度,那些采用.net的主流软件开发企业将会开始设计生产他们的第一批.net应用软件。这种转变对于那些使用微软产品的团体产生了一定的震撼,而且,现在对于‘......