代码搜索结果
找到约 5,431 项符合
Temperature 的代码
currentconditionsdisplay.java
package headfirst.observer.weatherobservable;
import java.util.Observable;
import java.util.Observer;
public class CurrentConditionsDisplay implements Observer, DisplayElement {
Observable observa
currentconditionsdisplay.java
package headfirst.observer.weather;
public class CurrentConditionsDisplay implements Observer, DisplayElement {
private float temperature;
private float humidity;
private Subject weatherData;
hottub.java
package headfirst.command.remote;
public class Hottub {
boolean on;
int temperature;
public Hottub() {
}
public void on() {
on = true;
}
public void off() {
on = false;
}
public void
usb_main.c
//-----------------------------------------------------------------------------
// USB_MAIN.c
//-----------------------------------------------------------------------------
// Copyright 2002 Silic
2-9.c
#include"stdio.h"
main()
{
float T[4][7],sum,avg;
int i,j;
float f1,*f2;
clrscr();
sum=avg=0;
scanf("%f",&T[0][0]);
sum=sum+T[0][0];
for(i=0;i
2-8.c
#include"stdio.h"
main()
{
float T[4][7],sum,avg;
int i,j;
float f1,*f2;
clrscr();
sum=avg=0;
f1=1.0;
f2=&f1;
for(i=0;i
2-7.c
#include"stdio.h"
main()
{
float T[4][7],sum,avg;
int i,j;
clrscr();
sum=avg=0;
for(i=0;i
6_11.cpp
#include
using namespace std;
int main()
{ enum Day { SUN, MON, TUE, WED, THU, FRI, SAT }; //定义枚举类型
float high[SAT+1] = {80.0, 90.0, 91.0, 80.9, 90.4, 90.5, 80.7}; //使用枚举类型
for (i
readme - finding ch01 examples.txt
Many of the examples used in this chapter are found beneath your LabVIEW installation, beneath the "examples" folder. You can open them from the file system or by using the NI Example Finder (from th
mfold-quik
#!/bin/sh
# This shell script folds all RNA or DNA sequences in a single file
# and creates simple output files.
# Abort subroutine
abort(){
\rm -f mfold.log fort.*
if [ $# -gt 0 ] ; then