虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

WHILE

WHILE是计算机的一种基本循环模式。当满足条件时进入循环,进入循环后,当条件不满足时,跳出循环。WHILE语句的一般表达式为:WHILE(表达式){循环体}。
  • 89s51单片机控制继电器! 由s51io口输出低电平使三极管导通 从而控制继电器闭合 #include <reg51.H> sbit P0_0=P0^0 sbit P1_

    89s51单片机控制继电器! 由s51io口输出低电平使三极管导通 从而控制继电器闭合 #include <reg51.H> sbit P0_0=P0^0 sbit P1_7=P1^7 main() {WHILE(1) { if (P0_0==0) P1_7==1 } }

    标签: sbit include 89s51 51

    上传时间: 2013-12-17

    上传用户:xsnjzljj

  • jsp和xml。XML and JSP are two important tools available in producing a web application. This chapter e

    jsp和xml。XML and JSP are two important tools available in producing a web application. This chapter examines the potential of mixing these two technologies in order to enhance the capabilities of JSP. WHILE this chapter will cover many things about XML, this chapter will not attempt to teach XML. Instead it focuses on how JSP and XML can be used together as a highly flexible and powerful tool. In general the usage of XML in these examples will be kept simple and should cause no problems for users who are starting XML.

    标签: application important available producing

    上传时间: 2013-12-10

    上传用户:1427796291

  • To find and output 11-999 between the number of m, it is to meet m, m2 and m3 are several palindrome

    To find and output 11-999 between the number of m, it is to meet m, m2 and m3 are several palindrome. The so-called palindrome refers to the number of its symmetrical figures that the whole number, for example, 121,676,94249 and so on. To meet the above requirements, such as the number of m = 11, m2 = 121, m3 = 1331 palindrome are few. Please prepare function int svalue (long m) to achieve this function, if it is palindrome, is a function to return, WHILE return 0.

    标签: palindrome and between several

    上传时间: 2013-12-27

    上传用户:二驱蚊器

  • Inside the C++ Object Model Inside the C++ Object Model focuses on the underlying mechanisms that s

    Inside the C++ Object Model Inside the C++ Object Model focuses on the underlying mechanisms that support object-oriented programming within C++: constructor semantics, temporary generation, support for encapsulation, inheritance, and "the virtuals"-virtual functions and virtual inheritance. This book shows how your understanding the underlying implementation models can help you code more efficiently and with greater confidence. Lippman dispells the misinformation and myths about the overhead and complexity associated with C++, WHILE pointing out areas in which costs and trade offs, sometimes hidden, do exist. He then explains how the various implementation models arose, points out areas in which they are likely to evolve, and why they are what they are. He covers the semantic implications of the C++ object model and how that model affects your programs.

    标签: Inside Object the Model

    上传时间: 2013-12-24

    上传用户:zhouli

  • This document contains official rules of the 3D soccer simulation competition at RoboCup 2006. Whil

    This document contains official rules of the 3D soccer simulation competition at RoboCup 2006. WHILE we will try to cover all cases, if unexpected events do occur, the rule committee will seek input from the participants and then make a decision. However, once the committee has made a decision, that decision is final and will not be open to further discussion

    标签: competition simulation document contains

    上传时间: 2016-11-30

    上传用户:zhengzg

  • I often need a simple function generator. Just to generate a certain frequency. After all the years

    I often need a simple function generator. Just to generate a certain frequency. After all the years I ve worked with electronics, I still haven t got me one. Even though I need it now and then, I just couldn t seem to justify the cost of one. So, standard solution - build one yourself. I designed a simple sinewave generator based on a Analog Devices AD9832 chip. It will generate a sinewave from 0.005 to 12 MHz in 0.005 Hz steps. That s pretty good, and definitely good enough for me ! But WHILE waiting for the AD9832 chip to arrive, I came up with a very simple version of the DDS synth, using just the 2313 and a resistor network.

    标签: frequency generator function generate

    上传时间: 2013-12-17

    上传用户:thesk123

  • The TMS320LF240xA and TMS320LC240xA devices, new members of the TMS320C24x generation of dig

    The TMS320LF240xA and TMS320LC240xA devices, new members of the TMS320C24x generation of digital signal processor (DSP) controllers, are part of the TMS320C2000 platform of fixed-point DSPs. The 240xA devices offer the enhanced TMS320 DSP architectural design of the C2xx core CPU for low-cost, low-power, and high-performance processing capabilities. Several advanced peripherals, optimized for digital motor and motion control applications, have been integrated to provide a true single-chip DSP controller. WHILE code-compatible with the existing C24x DSP controller devices, the 240xA offers increased processing performance (40 MIPS) and a higher level of peripheral integration. See the TMS320x240xA Device Summary section for device-specific features.

    标签: TMS 320 generation 240

    上传时间: 2013-12-16

    上传用户:GavinNeko

  • MyTask、YouTask和ThreeTask 。在主函数中创建任务MyTask。而YouTask和ThreeTask由任务MyTaskTask创建

    MyTask、YouTask和ThreeTask 。在主函数中创建任务MyTask。而YouTask和ThreeTask由任务MyTaskTask创建,其优先级分别为2、4、6。这三个任务都要占用资源s,任务YouTask访问时间短一些,在任务MyTask和任务ThreeTask利用WHILE(OSTime<T) {}增加访问时间,T值分别为300,500。MyTask、YouTask和ThreeTask采用OSTimeDly(K)延时等待,K值均为200。这样出现任务优先级反转。为了解决优先级反转,设计何种信号量既解决此问题。请先指出任务优先级反转出现在哪里? 后显示克服过程

    标签: ThreeTask YouTask MyTask MyTaskTask

    上传时间: 2016-12-23

    上传用户:tb_6877751

  • Batch version of the back-propagation algorithm. % Given a set of corresponding input-output pairs

    Batch version of the back-propagation algorithm. % Given a set of corresponding input-output pairs and an initial network % [W1,W2,critvec,iter]=batbp(NetDef,W1,W2,PHI,Y,trparms) trains the % network with backpropagation. % % The activation functions must be either linear or tanh. The network % architecture is defined by the matrix NetDef consisting of two % rows. The first row specifies the hidden layer WHILE the second % specifies the output layer. %

    标签: back-propagation corresponding input-output algorithm

    上传时间: 2016-12-27

    上传用户:exxxds

  • Train a two layer neural network with a recursive prediction error % algorithm ("recursive Gauss-Ne

    Train a two layer neural network with a recursive prediction error % algorithm ("recursive Gauss-Newton"). Also pruned (i.e., not fully % connected) networks can be trained. % % The activation functions can either be linear or tanh. The network % architecture is defined by the matrix NetDef , which has of two % rows. The first row specifies the hidden layer WHILE the second % specifies the output layer.

    标签: recursive prediction algorithm Gauss-Ne

    上传时间: 2016-12-27

    上传用户:ljt101007