Help!!!!!!!!! Urgent!!!!!!!!!



所有跟贴·加跟贴·新语丝科技论坛

送交者: 红雨 于 2005-2-11, 20:06:55:

I just got a follow up from a phone interview. Here is one of the question I need the answer no late than tomorrow. I really appreciate it if anyone can help.

Thanks a looooooot!!!!!

========================================
Design a class structure to represent binary expressions in memory, such as
"(1+2)*3". Implement the eval() method which will return the numeric value of
the constant expression. You can assume that someone else is doing the parsing
of the text representation: they will simply call your constructors to store the
parsed version.





所有跟贴:


加跟贴

笔名: 密码(可选项): 注册笔名请按这里

标题:

内容(可选项):

URL(可选项):
URL标题(可选项):
图像(可选项):


所有跟贴·加跟贴·新语丝科技论坛