代码搜索结果
找到约 10,000 项符合
Switch 的代码
newtoncotes.m
function I = NewtonCotes(f,a,b,type)
%type = 1 科茨公式
%type = 2 牛顿-科茨六点公式
%type = 3 牛顿-科茨七点公式
I=0;
switch type
case 1,
I=((b-a)/90)*(7*subs(sym(f),findsym(sym(f)),a)+...
key.c
#include
unsigned char k;
unsigned char Getkey()
{
P7=0xFE;
if(P7==0xEE)return 1;
if(P7==0xDE)return 2;
if(P7==0xBE)return 3;
//if(P7==0x7E)return 10;
P7=0xFD;
key.lst
C51 COMPILER V8.05a KEY 01/11/2009 22:55:15 PAGE 1
C51 COMPILER V8.05a, COMPILATION OF MODULE KEY
OBJECT MODULE PLACED IN ke
f340_usb0_mouse.c
//-----------------------------------------------------------------------------
// F340_USB0_Mouse.c
//-----------------------------------------------------------------------------
// Copyright 200
f320_usb0_mouse.c
//-----------------------------------------------------------------------------
// F320_USB0_Mouse.c
//-----------------------------------------------------------------------------
// Copyright 200
localename.c
/* Determine the current selected locale.
Copyright (C) 1995-1999, 2000-2002 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify it
under the
6-5.txt
/* 范例:6-5 */
#include
#include
int main()
{
int Mychar;
printf("请输入a-e字符,若要结束,请按任意键(a-e除外)\n");
for(;((Mychar = getche())!= false);)
{
switch (Mychar)
/*
20-1.txt
/* 范例:20-1 */
// 0.0 File scope 开始
#include
#include
void fun_a(int a,int b); /* 1 函数原型scope(参数行属于此),其中
a,b的可见度仅限于原型声明( )内 */
void main(void)
{
6-5.txt
/* 范例:6-5 */
#include
#include
int main()
{
int Mychar;
printf("请输入a-e字符,若要结束,请按任意键(a-e除外)\n");
for(;((Mychar = getche())!= false);)
{
switch (Mychar)
/*
20-1.txt
/* 范例:20-1 */
// 0.0 File scope 开始
#include
#include
void fun_a(int a,int b); /* 1 函数原型scope(参数行属于此),其中
a,b的可见度仅限于原型声明( )内 */
void main(void)
{