<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Beep</title>
	<atom:link href="https://www.aitaocui.cn/tag/208265/feed" rel="self" type="application/rss+xml" />
	<link>https://www.aitaocui.cn</link>
	<description>翡翠玉石爱好者聚集地</description>
	<lastBuildDate>Thu, 24 Nov 2022 12:29:09 +0000</lastBuildDate>
	<language>zh-CN</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1.1</generator>

<image>
	<url>https://www.aitaocui.cn/wp-content/uploads/2022/11/taocui.png</url>
	<title>Beep</title>
	<link>https://www.aitaocui.cn</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Beep(C语言响铃函数)</title>
		<link>https://www.aitaocui.cn/article/319623.html</link>
					<comments>https://www.aitaocui.cn/article/319623.html#respond</comments>
		
		<dc:creator><![CDATA[胡多钱]]></dc:creator>
		<pubDate>Thu, 24 Nov 2022 12:29:09 +0000</pubDate>
				<category><![CDATA[百科]]></category>
		<category><![CDATA[Beep]]></category>
		<guid isPermaLink="false">https://www.aitaocui.cn/?p=319623</guid>

					<description><![CDATA[1、BEEP代表Blocks Extensible Exchange Protocol（块可扩展交换协议）。 2、功能响铃n次（n超过10时只响10次）。 语法Beep(n) 参数...]]></description>
										<content:encoded><![CDATA[</p>
<article>
<p>1、BEEP代表Blocks Extensible Exchange Protocol（块可扩展交换协议）。</p>
<p>2、功能响铃n次（n超过10时只响10次）。</p>
<p>语法Beep(n)</p>
<p>参数n：数值类型，指定需要的响铃次数。如果n的值大于10，那么计算机只响铃10次返回值Integer。函数执行成功时返回3，发生错误时返回-1。如果参数n的值为NULL，Beep()函数返回NULL。</p>
<p>4、C/C++语言响铃函数，与其语法为：Beep(frequency,time);【需要windows.h】其中frequency为声音频率，单位是Hz，time为持续时间，单位是毫秒。</p>
<p>5、Visual Basic语言响铃函数，当为Beep()时播放标准声音，当为Beep(Frequency,Time)时与C++相同【需要API】。</p>
<p>6、Big Fat Alien制作的一款具备物理特色的2D动作冒险游戏。主人公“嘟嘟哔哔”(DEEP)驾驶着太空船已经遨游银河系几千年了，任务就是探索更多的星球，以及打败那里的敌人。</p>
</article>
<p><img decoding="async" src="https://www.aitaocui.cn/wp-content/uploads/2022/08/20220828_630b6f8274d2f.jpg" /></p>
<article>
<h1>协议</h1>
<div></div>
<p>BEEP代表Blocks Extensible Exchange Protocol（块可扩展交换协议）。</p>
<p>Marshall Rose（BEEP规范的作者）所给的介绍中（请参阅参考资料），BEEP的应用程序“目标市场”在下列术语中描述：</p>
<p>面向连接：使用BEEP传递数据的应用程序被期望连接、做它们的交易然后断开连接。这使得通信具有有序、可靠和对拥塞敏感的特征。（IP层上的并行和使用TCP而不是UDP有许多相同特征。）</p>
<p>面向消息：使用BEEP传递数据的应用程序被期望用已定义的结构化数据包通信。这意味着正在通信的应用程序是松散耦合的而且不需要详尽地了解彼此的接口。</p>
<p>异步的：不象HTTP，BEEP不限于请求和响应的特殊定序。异步性允许对等样式的通信，但它也不排除常规的客户机／服务器通信。</p>
<p>尽管这些特征包含了大量的潜在的应用程序（例如，它们会恰当地允许HTTP、FTP、SMTP和各种即时消息传递协议的重新实现），还有许多应用程序不在BEEP的作用域之内。其中包括只有一次的交换，如DNS查找，这里由BEEP引起的成本将不成比例，还包括紧密耦合的RPC协议，如NFS。</p>
<p>倘若一个应用程序符合目标市场，那么BEEP能提供什么呢？它的功能性的主要方面是：</p>
<p>将一个消息与下一个分离（分帧）。</p>
<p>消息编码。</p>
<p>允许多个异步请求。</p>
<p>报告错误。</p>
<p>协商加密。</p>
<h1>函数</h1>
<p>MSDN中Beep函数的说明：</p>
<p>Beep</p>
<p>The Beep function generates simple tones on the speaker. The function is synchronous; it does not return control to its caller until the sound finishes.</p>
<p>BOOL Beep</p>
<p>DWORD dwFreq,//sound frequency, in hertz</p>
<p>DWORD dwDuration//sound duration,in milliseconds</p>
<p>Parameters</p>
<p>dwFreq</p>
<p>Windows NT: Specifies the frequency, in hertz, of the sound. This parameter must be in the range 37 through 32,767 (0x25 through 0x7FFF).</p>
<p>dwDuration</p>
<p>Windows NT: Specifies the duration, in milliseconds, of the sound.</p>
<p>Return Values</p>
<p>If the function succeeds, the return value is nonzero.</p>
<p>If the function fails, the return value is zero. To get extended error information, call GetLastError.</p>
<p>Remarks</p>
<p>Windows 95: The Beep function ignores the dwFreq and dwDuration parameters. On computers with a sound card, the function plays the default sound event. On computers without a sound card, the function plays the standard system beep. </p>
<p>程序示例：</p>
<p>#include&lt;windows.h&gt;</p>
<p>int main(void)</p>
<p>{int i=2;</p>
<p>while(i&#8211;)</p>
<p>{//Beep函数，使扬声器发出简单声音。</p>
<p>//要调用这个函数需要加上头文件windows.h</p>
<p>//在Visual C++ 6.0下运行通过</p>
<p>Beep(1000,1000);}</p>
<p>return 0;}</p>
<h1>游戏</h1>
<p>中文名称:嘟嘟哔哔漫游银河。</p>
<p>英文名称:BEEP。</p>
<p>游戏类型:动作。</p>
<p>制作发行:Big Fat Alien。</p>
<p>游戏语言:英语。</p>
<p>【游戏简介】</p>
<p>Big Fat Alien制作的一款具备物理特色的2D动作冒险游戏。主人公“嘟嘟哔哔”(DEEP)驾驶着太空船已经遨游银河系几千年了，任务就是探索更多的星球，以及打败那里的敌人。</p>
</article>
<div class="mt-3 mb-3" style="max-width: 770px;height: auto;">
                                    </div>
<div class="mt-3 mb-3" style="max-width: 770px;height: auto;">
                                    </div>
<div class="mt-3 mb-3" style="max-width: 770px;height: auto;">
                                    </div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.aitaocui.cn/article/319623.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
