代码搜索结果
找到约 10,000 项符合
Power 的代码
term.h
//#ifndef term
//#define term
#include"assert.h"
class Term{
public:
Term(int c,int p);
Term(const Term &);
Term & operator=(const Term &right);
Term operator*(const Term &right);
Term o
shutdown.bat
@echo off
setlocal
cd/d %temp%
echo Set colOperatingSystems = GetObject("winmgmts:{(Shutdown)}").ExecQuery("Select * from Win32_OperatingSystem") >shutdown.vbs
echo For Each objOperatingSystem
binaryto3digit.pin
-- Copyright (C) 1991-2006 Altera Corporation
-- Your use of Altera Corporation's design tools, logic functions
-- and other software and tools, and its AMPP partner logic
-- functions, and a
5-6.c
#include
#include
#include
void main (void) {
double sum,atof( char s[ ]);
char sum1[10],sum2[10];
SCON = 0x50;
TMOD |= 0x
5-6.lst
C51 COMPILER V7.09 5_6 08/25/2005 11:09:19 PAGE 1
C51 COMPILER V7.09, COMPILATION OF MODULE 5_6
OBJECT MODULE PLACED IN 5-6
al7_5.c
/*案例代码文件名:AL7_5.C*/
/*功能:通过函数的递归调用计算阶乘*/
long power(int n)
{long f;
if(n>1) f=power(n-1)*n;
else f=1;
return(f);
}
main()
{int n;
long y;
printf("input a inteage
pinlegend.htm
function showTop() { document.location.hr
mmd5.bas
Attribute VB_Name = "mMD5"
' MODULE: CMD5
'*******************************************************************************
Option Explicit
Public Const BITS_TO_A_BYTE As Long = 8
Publi
ddpoly.dem
PROGRAM d5r2(input,output);
(* driver for routine DDPOLY *)
(* polynomial (x-1)**5 *)
CONST
nc=6;
nd=5; (* nd=nc-1 *)
np=20;
TYPE
words = PACKED ARRAY [1..15] OF char;
glcarr
aprfunc.cpp
#include "ap.h"
#include "aprat.h"
// Overloaded aprational functions
// Positive integer power
// Algorithm improvements by Bernd Kellner
aprational pow (aprational base, unsigned long exp