CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - 4.2.3-Win
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Sub Category
GUI Develop
Windows Kernel
WinSock-NDIS
Driver Develop
ADO-ODBC
GDI-Bitmap
CSharp
.net
Multimedia Develop
Communication
Shell api
ActiveX/DCOM/ATL
IME Develop
ISAPI-IE
Hook api
Screen saver
DirextX
Process-Thread
Console
File Operate
Printing program
Multi Monitor
DNA
Other
Search - 4.2.3-Win - List
[
CSharp
]
EasyChat
DL : 0
这是用C#做的一个简易的Windows平台下的聊天软件,包括了客户端和服务端的全部源码,注释很详细,有兴趣学习.net应用开发的同学可以下载来学习学习。这个示例包含了了C/S架构软件开发的很多基础知识和思想。 功能包括群发,私聊,发送震动,收到消息发声,闪屏提示等等,大致类似于QQ的多人聊天会话功能。 涉及到的知识主要包括: 1. TCP/IP通信,包括TcpClient , TcpListener , Socket , NetworkStream等几个用于TCP通信的类的实际应用。 2. WIN平台下的多线程程序开发,后台监听线程是网络应用程序开发中的一个基本技术,这个实例的客户端和服务器端都用了后台监听数据包的线程。 3. 客户端和服务器之间交换消息的方法,主要是byte[ ]格式的消息包的消息格式设计和识别,以便让客户端和服务器能够正确交互。 4. 服务端对连接客户的信息存储和状态监控,这个实例用了Hashtable来存储客户连接信息-a chat tool develop by c# in the desk of windows,including source code of client sever ,which can help the students who want to study .net and c#
Date
: 2026-01-07
Size
: 812kb
User
:
sunrong
[
CSharp
]
tictactoe
DL : 0
2.2.1 程序功能简介 该程序是TICTACTOE游戏,棋盘为3*3,3个棋子连起来即为赢。输入参数时,若输入的数字超出边界在已有棋子的地方再输入,则提示出错,要求重新输入。 2.2.2程序设计要求 (1) 将程序改写成类; (2) 将棋盘扩充成4*4; (3) 统计输赢结果并打印输出; (4) 选做:使游戏更生动(输赢条件相同)。 2.2.3课程设计说明 (1) 棋盘可用数组来定义,如Board[4][4]={0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0} (2) 题目要求把源程序封装在类中,需要编写一个类来封装所有相关函数和变量。同时对main主函数进行改写,以完成题目的要求。 -2.2.1 Program Features The program is TICTACTOE games, board 3* 3,3 chess is to win together. When the input parameters, beyond the boundaries of the digital input if there are pieces in place to re-enter, then prompts an error, requiring re-enter. 2.2.2 The program design requirements (1) to rewrite the program into categories (2) The board expanded into 4* 4 (3) and print out the results of statistical winning or losing (4) elected to do: make the game more vivid (win or lose the same conditions ). 2.2.3 Course Design Description (1) the board can be used to define an array, such as the Board [4] [4] = {0,0,0,0,0,0,0,0,0,0,0,0,0 , 0,0,0} (2) subject to the requirements of the source package in the class, you need to write a class to encapsulate all relevant functions and variables. While the main primary function rewritten in order to complete the requirements of the subject.
Date
: 2026-01-07
Size
: 2kb
User
:
jessica
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.