本书适应了Windows、Internet及计算机网络普及的潮流,介绍了一套在Windows下网络编程的规范-Windows Sockets。这套规范是Windows下得到广泛应用的、开放的、支持多种协议的网络编程接口。从1991年的1.0版到1995年的2.0.8版,经过不断完善并在Intel、Microsoft、Sun、SGI、Informix、Novell等公司的全力支持下,已成为Windows网络编程的事实上的标准。为使读者能够充分理解和应用这套规范,本书不但对Windows Sockets 1.1及2.0规范作了较为详尽的介绍,还结合了作者的实际工作,给出了具有实际应用价值的程序实例。书中的内容包括:Windows Sockets规范1.1版及2.0.8版介绍;Windows Sockets网络编程指导和具体应用实例;Windows Sockets规范1.1版及2.0.8版库函数参考等。 本书体系完整,文字流畅,可供从事网络应用开发的工程技术人员和大专院校师生参考。
上传时间: 2013-12-08
上传用户:coeus
接受用户输入的的整数范围,输出这个范围之内的所有完全数。 [完全数是指等于其所有因子之和但不包括该数本身,如6=1X2X3, 6=1+2+3,6是一个完全数]
上传时间: 2013-12-25
上传用户:1109003457
计算器,+、-、*、/、开平方根、2、8、10、16进制之间转换
标签: 计算器
上传时间: 2013-12-21
上传用户:agent
本书适应了 Windows 、 Internet 及计算机网络普及的潮流,介绍了一套在 Windows下网络编程的规范-Windows Sockets。这套规范是Windows下得到广泛 应用的、开放的、支持多种协议的网络编程接口。从 1991 年的 1.0 版到 1995 年的 2.0.8版,经过不断完善并在Intel、Microsoft 、Sun、SGI、Informix、Novell等 公司的全力支持下,已成为Windows网络编程的事实上的标准。为使读者能够充分 理解和应用这套规范,本书不但对Windows Sockets 1.1及2.0规范作了较为详尽的 介绍,还结合了作者的实际工作,给出了具有实际应用价值的程序实例。书中的内 容包括:Windows Sockets规范1.1版及2.0.8版介绍;Windows Sockets网络编程指 导和具体应用实例;Windows Sockets规范1.1版及2.0.8版库函数参考等。 本书体系完整,文字流畅,可供从事网络应用开发的工程技术人员和大专院校 师生参考。
上传时间: 2014-02-22
上传用户:SimonQQ
We have a group of N items (represented by integers from 1 to N), and we know that there is some total order defined for these items. You may assume that no two elements will be equal (for all a, b: a<b or b<a). However, it is expensive to compare two items. Your task is to make a number of comparisons, and then output the sorted order. The cost of determining if a < b is given by the bth integer of element a of costs (space delimited), which is the same as the ath integer of element b. Naturally, you will be judged on the total cost of the comparisons you make before outputting the sorted order. If your order is incorrect, you will receive a 0. Otherwise, your score will be opt/cost, where opt is the best cost anyone has achieved and cost is the total cost of the comparisons you make (so your score for a test case will be between 0 and 1). Your score for the problem will simply be the sum of your scores for the individual test cases.
标签: represented integers group items
上传时间: 2016-01-17
上传用户:jeffery
The XML Toolbox converts MATLAB data types (such as double, char, struct, complex, sparse, logical) of any level of nesting to XML format and vice versa. For example, >> project.name = MyProject >> project.id = 1234 >> project.param.a = 3.1415 >> project.param.b = 42 becomes with str=xml_format(project, off ) "<project> <name>MyProject</name> <id>1234</id> <param> <a>3.1415</a> <b>42</b> </param> </project>" On the other hand, if an XML string XStr is given, this can be converted easily to a MATLAB data type or structure V with the command V=xml_parse(XStr).
标签: converts Toolbox complex logical
上传时间: 2016-02-12
上传用户:a673761058
进制转换程序,可进行2,8,10,16进制之间的任意转换
上传时间: 2014-12-21
上传用户:franktu
用于linux和其他unix下面的,基于文本的浏览器,使用它看文档资料非常有用。版本2.5.8.
上传时间: 2016-03-23
上传用户:star_in_rain
本书适应了Windows、Internet及计算机网络普及的潮流,介绍了一套在 Windows 下网络编程的规范-Windows Sockets。这套规范是Windows 下得到广 泛应用的、开放的、支持多种协议的网络编程接口。从 1991年的 1.0版到 1995 年的2.0.8 版,经过不断完善并在 Intel、Microsoft、Sun、SGI、Informix、 Novell 等公司的全力支持下,已成为Windows 网络编程的事实上的标准。为使 读者能够充分理解和应用这套规范,本书不但对Windows Sockets 1.1 及2.0规 范作了较为详尽的介绍,还结合了作者的实际工作,给出了具有实际应用价值的 程序实例。书中的内容包括:Windows Sockets 规范 1.1版及2.0.8 版介绍; Windows Sockets 网络编程指导和具体应用实例;Windows Sockets 规范 1.1版 及2.0.8 版库函数参考等。
上传时间: 2016-03-27
上传用户:shus521
Ex3-23 亲兄弟问题 « 问题描述: 给定n 个整数0 1 1 , , , n- a a a 组成的序列。序列中元素i a 的亲兄弟元素k a 定义为: min{ | } k i j n j j i a = a a ³ a < < 。 亲兄弟问题要求给定序列中每个元素的亲兄弟元素的位置。元素i a 的亲兄弟元素为k a 时,称k 为元素i a 的亲兄弟元素的位置。当元素i a 没有亲兄弟元素时,约定其亲兄弟元素 的位置为-1。 例如,当n=10,整数序列为6,1,4,3,6,2,4,7,3,5 时,相应的亲兄弟元素位 置序列为:4,2,4,4,7,6,7,-1,9,-1。 « 编程任务: 对于给定的n个整数0 1 1 , , , n- a a a 组成的序列,试用抽象数据类型栈,设计一个O(n) 时间算法,计算相应的亲兄弟元素位置序列。 « 数据输入: 由文件input.txt提供输入数据。文件的第1 行有1 个正整数n,表示给定给n个整数。 第2 行是0 1 1 , , , n- a a a 。 « 结果输出: 程序运行结束时,将计算出的与给定序列相应的亲兄弟元素位置序列输出到output.txt 中。 输入文件示例 输出文件示例 input.txt 10 4 2 4 4 7 6 7 -1 9 -1 output.txt 6 1 4 3 6 2 4 7 3 5
上传时间: 2013-12-17
上传用户:shizhanincc