⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 calc.h

📁 CD_《Palm OS编程实践》
💻 H
字号:
#ifndef CALC_H
#define CALC_H
//////////////////////////////////////////////////////////////////////////////
// calc.h
// Definitions for the generic calculation routines.
// Copyright (c) 1999, Robert Mykland.  All rights reserved.
//////////////////////////////////////////////////////////////////////////////

///////////////////////
// Global Prototypes //
///////////////////////

void calcAdd( void );			// Queue an add operation
void calcAppend( int );			// Append a digit
void calcChangeSign( void );	// Change the sign of the entry
void calcClear( void );			// Clear/reset the calculator
void calcDivide( void );		// Queue a divide operation
void calcEquals( void );		// Finish the current operation
void calcExponent( void );		// Start gathering the exponent
void calcMultiply( void );		// Queue a multiply operation
void calcPoint( void );			// Start gathering the fraction
void calcSubtract( void );		// Queue a subtraction operation

//////////////////////
// Global Constants //
//////////////////////

#define MAX_NUMBER_SIZE		40

#endif	// CALC_H

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -