码迷,mamicode.com
首页 >  
搜索关键字:calculator    ( 449个结果
《CRL Via C#》使用CSC.exe对两个文件进行编译
1、新建一个Calculator.cs文件代码如下usingSystem; namespaceMyClassLib { publicclassCalculator { publicintAdd(inta,intb) { returna+b; } publicintSub(inta,intb) { returna-b; } } }2、对Calculator.cs进行编译,生成MyClassLib.dll文件csc.exe/out:MyClassLib.dll/t:..
分类:Windows程序   时间:2016-03-21 16:42:55    阅读次数:687
第一次个人作业
主程序: #include "stdafx.h"#include "Calculator.h" int main(){ new Calculator(); system("pause"); return 0;} 转换与计算 #include "stdafx.h"#include "Calculato
分类:其他好文   时间:2016-03-20 17:44:44    阅读次数:163
[2016-03-19][UVA][11549][Calculator Conundrum]
时间:2016-03-19 21:27:43 星期六 题目编号:[2016-03-19][UVA][11549][Calculator Conundrum] 题目大意:给定数k每次取前n位不断平方,求出现的最大值是多少 方法: 方法1:模拟一遍过程,直到出现循环 方法2:Floyd判断算法,定义两个...
分类:其他好文   时间:2016-03-20 00:15:25    阅读次数:215
个人项目总结
分数类,实现了运算符的重构,能实现分数之间的加减法。 input类负责从txt读取中缀表达式并转换成后缀表达式。 判断式子中有无分数 calculator类有两个分别负责将字符转化为值,或运算符,计算有分数的式子,和无分数的式子。 pan_and_out类负责判断输出式子,接受答案并判断。 经过这次
分类:其他好文   时间:2016-03-19 22:53:24    阅读次数:241
php关于精准计算的模块 BCMath
Php: BCMath bc是Binary Calculator的缩写。bc*函数的参数都是操作数加上一个可选的 [int scale],比如string bcadd(string $left_operand, string $right_operand[, int $scale]),如果scale
分类:Web程序   时间:2016-03-16 18:56:34    阅读次数:364
Linux (一) 初识
1 终端 打开终端: Ctrl + Alt + F1 ~ F6 图形界面: Ctrl + Alt + F7 2 命令 1) 一般 date cal - calendar bc - binary calculator -- quit -- scale = number 结果输出小数 2) 常用 man
分类:系统相关   时间:2016-02-26 06:56:30    阅读次数:211
计算器程序
//implement a calculator //no bracket #include <iostream> #include<cctype>//the 'isdigit' which was included in it will be used in the funcion named n
分类:其他好文   时间:2016-02-08 21:14:55    阅读次数:194
Lintcode: Expression Evaluation (Basic Calculator III)
Given an expression string array, return the final result of this expression Have you met this question in a real interview? Yes Example For the expre
分类:其他好文   时间:2016-02-02 14:47:23    阅读次数:274
CodeForces 620B Grandfather Dovlet’s calculator
水题#include#include#include#include#include#include#include#includeusing namespace std;int x[20];int main(){ int a,b; int ans=0; x[0]=6; x[...
分类:其他好文   时间:2016-01-22 17:05:27    阅读次数:114
一个很简陋的计算器
package com.imooc.calculator;import java.util.ArrayList;import java.util.Arrays;import bsh.EvalError;import bsh.Interpreter;import android.app.Activit...
分类:其他好文   时间:2016-01-18 17:24:00    阅读次数:181
449条   上一页 1 ... 21 22 23 24 25 ... 45 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!