有趣的问题 [英] interesting problem

查看:89
本文介绍了有趣的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

任何人都知道如何编写一个采用命令行公式

的程序并打印计算结果?例子;

$节目1+(2x3(3/2)) - 8

reagrds;

Makkko

Hello,
anyone know how to writre a program that take a commandline formula
and prints the calculated result? example;
$program 1+(2x3(3/2))-8

reagrds;
Makkko

推荐答案

程序1+(2x3(3/2)) - 8

reagrds;

Makkko

program 1+(2x3(3/2))-8

reagrds;
Makkko


-----开始PGP签名消息-----

哈希:SHA1


makko写道:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

makko wrote:
你好,
任何人都知道如何编写一个采用命令行公式的程序
并打印出来计算结果?例子;
Hello,
anyone know how to writre a program that take a commandline formula
and prints the calculated result? example;


程序1+(2x3(3/2)) - 8
program 1+(2x3(3/2))-8




是的,我知道如何。


有关如何知道如何知道的线索,google forrecursive descent

parser


- -


Lew Pitcher,IT顾问,企业数据系统

企业技术解决方案,道明银行金融集团


(这里表达的意见是我自己的,不是我雇主的意见)

----- BEGIN PGP SIGNATURE -----

版本:GnuPG v1.2.4(MingW32)

iD8DBQFB8QqvagVFX4UWr64RAnfhAKDSEGoKDT0pBPrGbmK / + pfq91RmwACfSDHl

bBxjlAt + dxVAdzVE3EgHIww =

= jM5G
----- END PGP SIGNATURE -----



Yes, I know how.

For a clue as to how you can know how too, google for "recursive descent
parser"

- --

Lew Pitcher, IT Consultant, Enterprise Data Systems
Enterprise Technology Solutions, TD Bank Financial Group

(Opinions expressed here are my own, not my employer''s)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)

iD8DBQFB8QqvagVFX4UWr64RAnfhAKDSEGoKDT0pBPrGbmK/+pfq91RmwACfSDHl
bBxjlAt+dxVAdzVE3EgHIww=
=jM5G
-----END PGP SIGNATURE-----


这篇关于有趣的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆