-
输入一个自然数N(2≤N≤9),要求输出如下的螺旋矩阵,即边长为N*N,元素取值为1至N*N,1在左上角,呈顺时针方向依次放置各元素。
N=3时,相应...
输入一个自然数N(2≤N≤9),要求输出如下的螺旋矩阵,即边长为N*N,元素取值为1至N*N,1在左上角,呈顺时针方向依次放置各元素。
N=3时,相应的矩阵中每个数字位置如下图所示:
1 2 3
8 9 4
7 6 5-Enter a natural number N (2 ≤ N ≤ 9), the requirements are as follows spiral output matrix, that is, edge length of N* N, the element values for the 1 to N* N, 1 in the upper left corner, showing a clockwise direction in order to place the various elements . N = 3, the corresponding figures for the location of each matrix as follows: 123,894,765
- 2023-07-10 21:40:03下载
- 积分:1
-
一个定时运行的系统服务源码
一个定时运行的系统服务源码,自动拷贝、替换、移除指定文件。
- 2023-04-06 19:45:03下载
- 积分:1
-
松鼠计划
this about squirrel program
- 2023-08-12 15:40:03下载
- 积分:1
-
在窗口中显示出26个英文字母,从左向右字母依次位置提高10个像素单位,并且颜色变为红色,然后回到正常位置;当到达最右端后改变方向从右向左依次变成红色并位置提高1...
在窗口中显示出26个英文字母,从左向右字母依次位置提高10个像素单位,并且颜色变为红色,然后回到正常位置;当到达最右端后改变方向从右向左依次变成红色并位置提高10个像素单位。在窗口的第二行显示26个字母,字体从正常到斜体,颜色从黑色到天蓝色不断变换。-In the window shows the 26 English letters, the letters from left to right, followed by location of units increased by 10 pixels, and the color turns red, and then return to the normal position When it reached the extreme right to change direction from right to left turn after the red and the location of units increased by 10 pixels. In the second line of the window shows the 26 letters, the font from normal to italic, color from black to sky blue constantly changing.
- 2022-06-03 07:41:57下载
- 积分:1
-
Net-skyChatServer类似网易聊天室
资源描述
软件名称:Net-skyChatServer类似网易聊天室
软件类型:C源代码
软件大小:38k
软件简介:
Net-Sky ChatServer不同于其他的用PHP,ASP,PERL等脚本语言编写的或其他任何CGI模式的聊天程式,本聊天室程序使用标准C语言开发,独立于任何第三方WEBSERVER而运行,快速,高效,稳定,大容量。程序的设计目标是能在一台普通的PC上同时容纳上万人聊天。经初步测试,完全达标:每个聊天室一道进程,占内存约700K,80人在线时占CPU约0.03% (Pll450)。程序启动即将所有模版一次性载入内存,最大限度减少硬盘的I/O操作(聊天过程没有任何硬盘I/O),最大限度提高性能。这不不并不意味着每次修改配置后要重新启动聊程式,系统提供专门的管理员命令来重载或修改配置,而不须停止或间断服务。(Only For Linux)
|关闭本窗口|
- 2022-04-23 18:15:26下载
- 积分:1
-
模仿一个flash小游戏“水晶球测心术”,用C语言做的,在TC3和win...
模仿一个flash小游戏“水晶球测心术”,用C语言做的,在TC3和win-tc中运行通过。-Imitation of a small flash game, " Mind Reading Crystal Ball" , with the C language to do, in TC3 and run through the win-tc.
- 2022-05-09 03:43:06下载
- 积分:1
-
一个可以显示多个视图的类,用CTabCtel类
一个可以显示多个视图的类,用CTabCtel类-can show more than one view of categories, with category CTabCtel
- 2023-06-18 19:40:04下载
- 积分:1
-
在这个示例中,你将学习到如何制作网络浏览器。
在这个示例中,你将学习到如何制作网络浏览器。-in this example, you will learn how to make a web browser.
- 2022-02-26 04:43:47下载
- 积分:1
-
分享给他人的样本
a sample to share to others
- 2022-06-26 15:23:22下载
- 积分:1
-
Map with C/C vc Map with Map with C
Map with C++/vc++ Map with C++Map with C-Map with C/C vc Map with Map with C
- 2022-04-06 16:04:52下载
- 积分:1