上一页 1 ··· 450 451 452 453 454 455 456 457 458 ··· 527 下一页
摘要: 在广域网内进行数据文件的传输,一般来说,典型的解决方式有CDN、FTP、电子邮件以及消息中间件等方案,下面将对这几种方案进行简单分析。1、CDN技术CDN:Content Delivery Network(内容交付网络)。通过在现有网络中添加一层新的网络架构,将站点的内容公布到最接近用户的网络“边缘... 阅读全文
posted @ 2014-10-30 11:42 zfyouxi 阅读(987) 评论(0) 推荐(0)
摘要: 1. 单像素边框CSS表格这是一个非经常常使用的表格样式。源码: Info Header 1Info Header 2Info Header 3 Text 1AText 1BText 1C Text 2AText 2BText 2C2. 带背景图的CSS样式表格和上面差点儿相同,只是每一个格子里多了... 阅读全文
posted @ 2014-10-30 10:22 zfyouxi 阅读(186) 评论(0) 推荐(0)
摘要: #include #include #include #include int func1(int *a){ a = new int; *a = 1; printf("func1 addr a=%p\n",a); return *a;}int func2(int **a){ *a = new int... 阅读全文
posted @ 2014-10-29 20:23 zfyouxi 阅读(1017) 评论(0) 推荐(0)
摘要: 每次下载完代码我们都会在本地通过repo start my_local --all建立分支,这样我们下载的代码在每一个仓下都有一个名叫my_local的分支,有些时候我们因为须要还会建立其它分支,当我们不再须要这些分支时,能够通过下边命令来同一时候删除多个仓下的同一分支: repo for... 阅读全文
posted @ 2014-10-29 19:56 zfyouxi 阅读(188) 评论(0) 推荐(0)
摘要: 取文件的大小 (KB,MB,GB...)2种方式: VB 和 C#1, VB Public Function GetFileSize(ByVal iFileSizeKB As Long) As String Dim iFileSizeMB As Integer Dim i... 阅读全文
posted @ 2014-10-29 19:45 zfyouxi 阅读(273) 评论(0) 推荐(0)
摘要: 把v和2结点交换,1和v连,其它点和v之间能够互相连。#include #include #include #include #include #include #include using namespace std;int n,m,v,flag,i,cnt,j;int main(){ wh... 阅读全文
posted @ 2014-10-29 19:05 zfyouxi 阅读(189) 评论(0) 推荐(0)
摘要: DescriptionYou are given circular array a0, a1, ..., an - 1. There are two types of operations with it: inc(lf, rg, v) — this operation increases each... 阅读全文
posted @ 2014-10-29 18:18 zfyouxi 阅读(290) 评论(0) 推荐(0)
摘要: 进程控制(1)进程标识符每一个进程都有肺腑的整形表示唯一的进程ID。按一个进程终止后,其进程ID就能够再次使用了。例如以下是几个典型进程的ID及其类型和功能。ID 进程名中文名类型作用0swapper 交换进程系统进程它是内核一部分,不运行磁盘上的程序,是调度进程。1initinit进程用户进程永远... 阅读全文
posted @ 2014-10-29 17:23 zfyouxi 阅读(294) 评论(0) 推荐(0)
摘要: 1. 协议a. TCP/IP总体构架概述 TCP/IP协议并不全然符合OSI的七层參考模型。传统的开放式系统互连參考模型,是一种通信协议的7层抽象的參考模型,当中每一层运行某一特定任务。该模型的目的是使各种硬件在同样的层次上相互通信。这7层是:物理层、数据链路层、网路层、传输层、话路层、表示层和应用... 阅读全文
posted @ 2014-10-29 16:34 zfyouxi 阅读(224) 评论(0) 推荐(0)
摘要: 水仙花数是指一个n位数(n>=3),它每一个位上数字的n次幂之和等于它本身,n为它的位数。(比如:1^3+5^3+3^3 = 153)水仙花数又称阿姆斯特朗数。三位的水仙花数有4个:153,370,371,407四位的水仙花数有3个:1634,8208,9474五位的水仙花数有3个:54748,92... 阅读全文
posted @ 2014-10-29 14:56 zfyouxi 阅读(423) 评论(0) 推荐(0)
上一页 1 ··· 450 451 452 453 454 455 456 457 458 ··· 527 下一页