
算法
bluebohe
这个作者很懒,什么都没留下…
展开
-
表达式求值(上)
/* 功能:计算包含变量及函数的表达式 2>变量之间允许有表达式约束 使用说明: 1>用户使用的函数为bool CExpression::CalExp() double m_dResult; file://计算得数 char* m_strExp; file://表达式字符串 CVarList m_VarList; file://变量表 bool m_bDegUnit; // 缺省原创 2003-10-30 13:38:00 · 1589 阅读 · 0 评论 -
表达式求值(中)
// Expression.cpp: implementation of the CExpression class.//////////////////////////////////////////////////////////////////////// #include "stdafx.h"#include "Expression.h"#include "m原创 2003-10-28 23:47:00 · 1331 阅读 · 0 评论 -
表达式求值(下)
//函数处理bool CExpression::Level6(double *result){ int num; char funcname[8]; char op = 0; int paranum=1; double para[6]; if( IsFunc( m_strToke原创 2003-10-28 23:47:00 · 1169 阅读 · 0 评论 -
矩形体排样问题
// TypeSet.cpp: implementation of the CTypeset class.////////////////////////////////////////////////////////////////////////#include "stdafx.h"#include "../INC/TypeSet.h"//用法示例void TestTypeset(HDC原创 2004-02-20 11:09:00 · 5000 阅读 · 5 评论