-
用C语言实现学生学号,姓名,五门课程成绩的录入与查寻,统计不及格人数,优秀学生人数,平均成绩等。...
用C语言实现学生学号,姓名,五门课程成绩的录入与查寻,统计不及格人数,优秀学生人数,平均成绩等。-C language students learn, names, five courses with the results of the search entry, compared to statistics, the number of outstanding students, the average performance.
- 2022-02-02 22:57:54下载
- 积分:1
-
Socket通信示例
一次.net Socket UDP编程
最近想写一个网络服务器端的程序,想看看在大量客户端数下程序的运行情况。于是对.net 的Socket编程进行了一些研究,发现.net 3.5 里SocketAsyncEventArgs 是基于IOCP实现。MSDN上有相关的示例,但它是基于TCP协议的,而我想要的是基于UDP协议的。网上很难找到基于UDP协议的SocketAsyncEventArgs示例(UDP需要用IOCP吗?),于是决定自己写一个基于UDP协议的示例,看看它在和大量客户端通讯时的运行情况。
程序分为服务器端和客户端,它们使用UDP协议进行通讯。众所周知UDP是无连接的,可我又想计算出有多少客户端和服务器通信,其中又有多少是新的客户端。所以设计让服务器端程序绑定两个端口。一个端口专门用于接收客户端第一次发送过来的数据包;另一个端口负责和已经接入的客户端进行通讯(是不是有点像TCP的接入,例子本身也在模仿Tcp编程)。客户端比较简单让它生成足够多的Socket,然后不断的向服务器端发送数据包即可。
- 2022-08-17 12:38:18下载
- 积分:1
-
This is a game that is to write a procedure to understand
这是有一个比赛题,是写出一个看不懂的程序-This is a game that is to write a procedure to understand
- 2022-07-18 10:17:37下载
- 积分:1
-
一个简单的画图工具的源代码,可以画的图有直线、曲线、圆、椭圆...
一个简单的画图工具的源代码,可以画的图有直线、曲线、圆、椭圆-a simple drawing tools to the source code, can be painted with the map straight, curve, circle, oval, etc.
- 2022-03-07 04:22:49下载
- 积分:1
-
用C++实现的小游戏,模仿的是很早以前的红白机小游戏小蜜蜂,使用规则和小蜜蜂相似,可玩性较强...
用C++实现的小游戏,模仿的是很早以前的红白机小游戏小蜜蜂,使用规则和小蜜蜂相似,可玩性较强-Using C++ to achieve the small games, imitation is the long game of red and white machine small bees and small bees use rules similar to a strong playability
- 2022-03-04 06:53:22下载
- 积分:1
-
遍历windows操作体统的所有进程,
并可得到详细的信息
遍历windows操作体统的所有进程,
并可得到详细的信息-Traversal of all the windows to operate the process of decency and get detailed information
- 2022-05-09 02:45:04下载
- 积分:1
-
面向对象程序设计(第二版)课后习题解答
有详细的做法
面向对象程序设计(第二版)课后习题解答
有详细的做法-Object-Oriented Programming (Second Edition) exercises after practice to answer detailed
- 2022-04-08 10:46:51下载
- 积分:1
-
computer simulation experiments, using three methods to simulate the process of...
计算机仿真的实验,用三种方法模拟了哲学家进餐的过程,图形化的显示过程,用VC++.net开发的-computer simulation experiments, using three methods to simulate the process of the Dining Philosophers, graphical display of the process, with VC. Net development
- 2022-03-28 11:43:53下载
- 积分:1
-
C++编写的屏幕拾色器,拖动鼠标就可以获取屏幕任意一点的的颜色,然后给出16进制和RGB颜色值,并将值存入剪贴板;同时在拖动取色过程中适时显示鼠标位置座标、窗口...
C++编写的屏幕拾色器,拖动鼠标就可以获取屏幕任意一点的的颜色,然后给出16进制和RGB颜色值,并将值存入剪贴板;同时在拖动取色过程中适时显示鼠标位置座标、窗口句柄、窗口类名以及窗口标题,因此,这个程序也可以说成是一个鼠标钩子程序,对研究C++还是有帮助的。-C++ Prepared Found color screen, and drag the mouse on the screen can be accessed at any point of the color, and then given 16 hexadecimal and RGB color value, and value into the clipboard At the same time, drag the color from the process of in a timely display coordinates of the mouse position, window handle, window class name and window title, therefore, this procedure can also be said as a mouse hook procedures, the study of C++ or helpful.
- 2023-07-04 01:05:03下载
- 积分:1
-
read using AUTOCAD dxf format data
用c++读取 AUTOCAD中dxf格式的数据-read using AUTOCAD dxf format data
- 2023-07-21 05:25:02下载
- 积分:1