Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version
Go to top

Visual Calc v3.0 - A new dimension for the desktop calculator

, 28 Apr 2006
How to start programming a parser.
visualcalc224_bin_20060206.zip
Visual Calc.exe
visualcalc224_lib_20060206.zip
mfc42.dll
msvcrt.dll
msvcp60.dll
visualcalc224_src_20060206.zip
res
About.ico
AboutFrame.bmp
CodeProject.ico
Doxygen.ico
function.ico
Help.ico
ico00001.ico
operator.ico
switch.ico
Visual Calc.ico
visualst.ico
WinXP.ico
Visual Calc.dsw
Visual Calc.dsp
visualcalc300_bin_20060418.zip
VisualCalc.exe
VCalcParser.dll
visualcalc300_lib_20060418.zip
msvcrt.dll
msvcp71.dll
msvcr71.dll
MFC71.dll
visualcalc300_parser-doc_20060418.zip
html
class_c_answer_requested_not_found_exception.png
class_c_closing_parenthesis_expected_exception.png
class_c_constant_assignation_exception.png
class_c_division_by_zero_exception.png
class_c_domain_exception.png
class_c_dom_parameters_must_be_integers_exception.png
class_c_dom_parameters_must_be_positive_exception.png
class_c_dom_parameter_must_be_an_integer_exception.png
class_c_dom_parameter_must_be_positive_exception.png
class_c_factorial_def_for_positive_ints_exception.png
class_c_function_exception.png
class_c_function_not_supported_exception.png
class_c_illegal_use_of_fonction_name_exception.png
class_c_implicit_multiplication_exception.png
class_c_literal_assignation_exception.png
class_c_mathematic_exception.png
class_c_mathematic_expression_expected_exception.png
class_c_math_parameter_must_be_an_integer_exception.png
class_c_math_parameter_must_be_positive_exception.png
class_c_n_must_be_positive_exception.png
class_c_parameter_exception.png
class_c_parameter_out_of_range_exception.png
class_c_parser_exception.png
class_c_period_unexpected_exception.png
class_c_p_must_be_positive_exception.png
class_c_p_must_be_smaller_than_n_exception.png
class_c_syntax_exception.png
class_c_too_few_parameters_exception.png
class_c_too_many_parameters_exception.png
class_c_undefined_variable_exception.png
class_c_unexpected_character_exception.png
class_c_unknown_exception.png
class_c_unknown_function_called_exception.png
class_c_variable_exception.png
class_c_v_calc_parser_exception.png
Copie de form_0.png
Copie de form_1.png
Copie de form_10.png
Copie de form_11.png
Copie de form_12.png
Copie de form_2.png
Copie de form_6.png
Copie de form_7.png
Copie de form_8.png
Copie de form_9.png
doxygen.png
form_0.png
form_1.png
form_10.png
form_11.png
form_12.png
form_2.png
form_3.png
form_4.png
form_5.png
form_6.png
form_7.png
form_8.png
form_9.png
tab_b.gif
tab_l.gif
tab_r.gif
_formulas.tex
visualcalc300_parser-src_20060418.zip
VCalcParser.lib
visualcalc300_src_20060418.zip
bin
lib
VCalcParser
doc
Doxygen.cfg
VisualCalc
res
About.ico
AboutFrame.bmp
CodeProject.ico
Doxygen.ico
errcodes.ico
function.ico
Help.ico
operator.ico
switch.ico
VisualCalc.ico
VisualCalc.manifest
visualst.ico
WinXP.ico
VCalcParser.lib
visualcalcparser250_doc_20060206.zip
doc
Doxygen.cfg
html
class_c_answer_requested_not_found_exception.png
class_c_closing_parenthesis_expected_exception.png
class_c_constant_assignation_exception.png
class_c_division_by_zero_exception.png
class_c_domain_exception.png
class_c_dom_parameters_must_be_integers_exception.png
class_c_dom_parameters_must_be_positive_exception.png
class_c_dom_parameter_must_be_an_integer_exception.png
class_c_dom_parameter_must_be_positive_exception.png
class_c_factorial_def_for_positive_ints_exception.png
class_c_function_exception.png
class_c_function_not_supported_exception.png
class_c_illegal_use_of_fonction_name_exception.png
class_c_implicit_multiplication_exception.png
class_c_literal_assignation_exception.png
class_c_mathematic_exception.png
class_c_mathematic_expression_expected_exception.png
class_c_math_parameter_must_be_an_integer_exception.png
class_c_math_parameter_must_be_positive_exception.png
class_c_n_must_be_positive_exception.png
class_c_parameter_exception.png
class_c_parameter_out_of_range_exception.png
class_c_parser_exception.png
class_c_period_unexpected_exception.png
class_c_p_must_be_positive_exception.png
class_c_p_must_be_smaller_than_n_exception.png
class_c_syntax_exception.png
class_c_too_few_parameters_exception.png
class_c_too_many_parameters_exception.png
class_c_undefined_variable_exception.png
class_c_unexpected_character_exception.png
class_c_unknown_exception.png
class_c_unknown_function_called_exception.png
class_c_variable_exception.png
class_c_v_calc_parser_exception.png
Copie de form_0.png
Copie de form_1.png
Copie de form_10.png
Copie de form_11.png
Copie de form_12.png
Copie de form_2.png
Copie de form_6.png
Copie de form_7.png
Copie de form_8.png
Copie de form_9.png
doxygen.png
form_0.png
form_1.png
form_10.png
form_11.png
form_12.png
form_2.png
form_3.png
form_4.png
form_5.png
form_6.png
form_7.png
form_8.png
form_9.png
tab_b.gif
tab_l.gif
tab_r.gif
_formulas.tex
visualcalcparser250_src_20060206.zip
visualcalc_demo.zip
Visual Calc.exe
visualcalc_libs.zip
msvcp60.dll
mfc42.dll
msvcrt.dll
visualcalc_parser.zip
visualcalc_src.zip
About.ico
AboutFrame.bmp
CodeProject.ico
function.ico
Help.ico
ico00001.ico
operator.ico
switch.ico
Visual Calc.ico
visualst.ico
WinXP.ico
Visual Calc.dsp
Visual Calc.dsw
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by VisualCalc.rc
//
#define IDM_ABOUTBOX                    0x0010
#define IDM_HELPBOX                     0x0020
#define IDD_VISUALCALC_DIALOG           100
#define IDD_ABOUTBOX                    101
#define IDD_OPERATORS_PAGE              102
#define IDD_FUNCTIONS_PAGE              103
#define IDD_ERROR_CODES_PAGE            104
#define IDB_ABOUTFRAME                  105
#define IDR_MAINFRAME                   106
#define IDI_ABOUT                       107
#define IDI_CODEPROJECT                 108
#define IDI_ERRORCODES                  109
#define IDI_FUNCTIONS                   110
#define IDI_HELP                        111
#define IDI_OPERATORS                   112
#define IDI_SWITCH                      113
#define IDI_VISUALSTUDIO6               114
#define IDI_WINXP                       115
#define IDI_DOXYGEN                     116
#define IDS_HELPBOX                     128
#define IDS_ABOUTBOX                    129
#define IDS_VISUALCALC                  130
#define IDS_ANSWERS_STC                 131
#define IDS_VARIABLES_STC               132
#define IDS_FUNCTIONS_STC               133
#define IDS_HOWTOQUIT_STC               134
#define IDS_ERASE_BTN                   135
#define IDS_CALCULATE_BTN               136
#define IDS_ABOUT_BTN                   137
#define IDS_HELP_BTN                    138
#define IDS_ABOUT_GUIVERSION            144
#define IDS_ABOUT_PARSERVERSION         145
#define IDS_ABOUT_COPYRIGHT             146
#define IDS_ABOUT_CODEPROJECT           147
#define IDS_ABOUT_DOXYGEN               148
#define IDS_ABOUT_CLOSECLICK            149
#define IDS_HELP                        160
#define IDS_HELP_FUNCTIONS              161
#define IDS_HELP_OPERATORS              162
#define IDS_HELP_ERROR_CODES            163
#define IDS_HELP_FCTS_AVAILABLE         176
#define IDS_HELP_FCTS_NAMES             177
#define IDS_HELP_FCTS_USES              178
#define IDS_HELP_FCTS_DEF_ABS           179
#define IDS_HELP_FCTS_DEF_ACOS          180
#define IDS_HELP_FCTS_DEF_ANS           181
#define IDS_HELP_FCTS_DEF_ASIN          182
#define IDS_HELP_FCTS_DEF_ATAN          183
#define IDS_HELP_FCTS_DEF_COS           184
#define IDS_HELP_FCTS_DEF_COSH          185
#define IDS_HELP_FCTS_DEF_DEG           186
#define IDS_HELP_FCTS_DEF_EXP           187
#define IDS_HELP_FCTS_DEF_LN            188
#define IDS_HELP_FCTS_DEF_LOG           189
#define IDS_HELP_FCTS_DEF_LOGN          190
#define IDS_HELP_FCTS_DEF_NAP           191
#define IDS_HELP_FCTS_DEF_NCP           192
#define IDS_HELP_FCTS_DEF_PRODUCT       193
#define IDS_HELP_FCTS_DEF_RAD           194
#define IDS_HELP_FCTS_DEF_SIN           195
#define IDS_HELP_FCTS_DEF_SINH          196
#define IDS_HELP_FCTS_DEF_SQRT          197
#define IDS_HELP_FCTS_DEF_SQRTN         198
#define IDS_HELP_FCTS_DEF_SUM           199
#define IDS_HELP_FCTS_DEF_TAN           200
#define IDS_HELP_FCTS_DEF_TANH          201
#define IDS_HELP_FCTS_USE_ABS           208
#define IDS_HELP_FCTS_USE_ACOS          209
#define IDS_HELP_FCTS_USE_ANS           210
#define IDS_HELP_FCTS_USE_ASIN          211
#define IDS_HELP_FCTS_USE_ATAN          212
#define IDS_HELP_FCTS_USE_COS           213
#define IDS_HELP_FCTS_USE_COSH          214
#define IDS_HELP_FCTS_USE_DEG           215
#define IDS_HELP_FCTS_USE_EXP           216
#define IDS_HELP_FCTS_USE_LN            217
#define IDS_HELP_FCTS_USE_LOG           218
#define IDS_HELP_FCTS_USE_LOGN          219
#define IDS_HELP_FCTS_USE_NAP           220
#define IDS_HELP_FCTS_USE_NCP           221
#define IDS_HELP_FCTS_USE_PRODUCT       222
#define IDS_HELP_FCTS_USE_RAD           223
#define IDS_HELP_FCTS_USE_SIN           224
#define IDS_HELP_FCTS_USE_SINH          225
#define IDS_HELP_FCTS_USE_SQRT          226
#define IDS_HELP_FCTS_USE_SQRTN         227
#define IDS_HELP_FCTS_USE_SUM           228
#define IDS_HELP_FCTS_USE_TAN           229
#define IDS_HELP_FCTS_USE_TANH          230
#define IDS_HELP_OPERS_AVAILABLE        240
#define IDS_HELP_OPERS_USES             241
#define IDS_HELP_OPERS_DEF_ADDITION     242
#define IDS_HELP_OPERS_DEF_SUBTRACTION  243
#define IDS_HELP_OPERS_DEF_MULTIPLICATION 244
#define IDS_HELP_OPERS_DEF_DIVISION     245
#define IDS_HELP_OPERS_DEF_POWER        246
#define IDS_HELP_OPERS_DEF_MODULUS      247
#define IDS_HELP_OPERS_DEF_PARENTHESIS  248
#define IDS_HELP_OPERS_DEF_UNARYPLUS    249
#define IDS_HELP_OPERS_DEF_UNARYMINUS   250
#define IDS_HELP_OPERS_DEF_ASSIGNEMENT  251
#define IDS_HELP_OPERS_DEF_FACTORIAL    252
#define IDS_HELP_OPERS_DEF_DEGTORAD     253
#define IDS_HELP_ERRORS_CODES           256
#define IDS_HELP_ERRORS_DESCRIPTIONS    257
#define IDS_HELP_ERRORS_SYNTAX          258
#define IDS_HELP_ERRORS_MATHEMATIC      259
#define IDS_HELP_ERRORS_FUNCTIONS       260
#define IDS_HELP_ERRORS_PARAMETERS      261
#define IDS_HELP_ERRORS_VARIABLES       262
#define IDS_HELP_ERRORS_DOMAIN          263
#define IDS_HELP_ERRORS_PARSER          264
#define IDS_HELP_ERRORS_1001            265
#define IDS_HELP_ERRORS_1002            266
#define IDS_HELP_ERRORS_1003            267
#define IDS_HELP_ERRORS_1004            268
#define IDS_HELP_ERRORS_2001            269
#define IDS_HELP_ERRORS_2002            270
#define IDS_HELP_ERRORS_2003            271
#define IDS_HELP_ERRORS_2004            272
#define IDS_HELP_ERRORS_2005            273
#define IDS_HELP_ERRORS_2006            274
#define IDS_HELP_ERRORS_2007            275
#define IDS_HELP_ERRORS_2008            276
#define IDS_HELP_ERRORS_3001            277
#define IDS_HELP_ERRORS_3002            278
#define IDS_HELP_ERRORS_3003            279
#define IDS_HELP_ERRORS_4001            280
#define IDS_HELP_ERRORS_4002            281
#define IDS_HELP_ERRORS_5001            282
#define IDS_HELP_ERRORS_5002            283
#define IDS_HELP_ERRORS_5003            284
#define IDS_HELP_ERRORS_6001            285
#define IDS_HELP_ERRORS_6002            286
#define IDS_HELP_ERRORS_6003            287
#define IDS_HELP_ERRORS_6004            288
#define IDS_HELP_ERRORS_6005            289
#define IDS_HELP_ERRORS_9001            290
#define IDS_HELP_ERRORS_9009            291
#define IDC_INPUT_EDIT                  1000
#define IDC_OUTPUT_EDIT                 1001
#define IDC_ANSLIST_LBOX                1002
#define IDC_FORMULAS_LBOX               1003
#define IDC_VARNAMES_LBOX               1004
#define IDC_FUNCLIST_LBOX               1005
#define IDC_CALC_BTN                    1006
#define IDC_ABOUT_BTN                   1007
#define IDC_HELP_BTN                    1008
#define IDC_ANSLISTSTATE_CHK            1009
#define IDC_RESETANS_BTN                1010
#define IDC_RESETVARS_BTN               1011
#define IDC_RESETFUNCS_BTN              1012
#define IDC_VARVALS_LBOX                1013
#define IDC_GUIVERSION_STATIC           1013
#define IDC_PARSERVERSION_STATIC        1014
#define IDC_VARLISTSTATE_CHK            1014
#define IDC_HOWTOQUIT_STATIC            1015
#define IDC_ANSWERS_STATIC              1016
#define IDC_VARIABLES_STATIC            1017
#define IDC_FUNCTIONS_STATIC            1018
#define IDC_VISUALCALC_STATIC           1019
#define IDC_COPYRIGHT_STATIC            1020
#define IDC_CODEPROJECT_STATIC          1021
#define IDC_DOXYGEN_STATIC              1022
#define IDC_CLOSECLICK_STATIC           1023
#define IDC_FCTS_ABS_DEF_STATIC         1024
#define IDC_FCTS_ACOS_DEF_STATIC        1025
#define IDC_FCTS_ANS_DEF_STATIC         1026
#define IDC_FCTS_ASIN_DEF_STATIC        1027
#define IDC_FCTS_ATAN_DEF_STATIC        1028
#define IDC_FCTS_COS_DEF_STATIC         1029
#define IDC_FCTS_COSH_DEF_STATIC        1030
#define IDC_FCTS_DEG_DEF_STATIC         1031
#define IDC_FCTS_EXP_DEF_STATIC         1032
#define IDC_FCTS_LN_DEF_STATIC          1033
#define IDC_FCTS_LOG_DEF_STATIC         1034
#define IDC_FCTS_LOGN_DEF_STATIC        1035
#define IDC_FCTS_NAP_DEF_STATIC         1036
#define IDC_FCTS_NCP_DEF_STATIC         1037
#define IDC_FCTS_PRODUCT_DEF_STATIC     1038
#define IDC_FCTS_RAD_DEF_STATIC         1039
#define IDC_FCTS_SIN_DEF_STATIC         1040
#define IDC_FCTS_SINH_DEF_STATIC        1041
#define IDC_FCTS_SQRT_DEF_STATIC        1042
#define IDC_FCTS_SQRTN_DEF_STATIC       1043
#define IDC_FCTS_SUM_DEF_STATIC         1044
#define IDC_FCTS_TAN_DEF_STATIC         1045
#define IDC_FCTS_TANH_DEF_STATIC        1046
#define IDC_FCTS_AVAILABLE_STATIC       1047
#define IDC_FCTS_NAMES_STATIC           1048
#define IDC_FCTS_USES_STATIC            1049
#define IDC_FCTS_ABS_USE_STATIC         1050
#define IDC_FCTS_ACOS_USE_STATIC        1051
#define IDC_FCTS_ANS_USE_STATIC         1052
#define IDC_FCTS_ASIN_USE_STATIC        1053
#define IDC_FCTS_ATAN_USE_STATIC        1054
#define IDC_FCTS_COS_USE_STATIC         1055
#define IDC_FCTS_COSH_USE_STATIC        1056
#define IDC_FCTS_DEG_USE_STATIC         1057
#define IDC_FCTS_EXP_USE_STATIC         1058
#define IDC_FCTS_LN_USE_STATIC          1059
#define IDC_FCTS_LOG_USE_STATIC         1060
#define IDC_FCTS_LOGN_USE_STATIC        1061
#define IDC_FCTS_NAP_USE_STATIC         1062
#define IDC_FCTS_NCP_USE_STATIC         1063
#define IDC_FCTS_PRODUCT_USE_STATIC     1064
#define IDC_FCTS_RAD_USE_STATIC         1065
#define IDC_FCTS_SIN_USE_STATIC         1066
#define IDC_FCTS_SINH_USE_STATIC        1067
#define IDC_FCTS_SQRT_USE_STATIC        1068
#define IDC_FCTS_SQRTN_USE_STATIC       1069
#define IDC_FCTS_SUM_USE_STATIC         1070
#define IDC_FCTS_TAN_USE_STATIC         1071
#define IDC_FCTS_TANH_USE_STATIC        1072
#define IDC_OPERS_AVAILABLE_STATIC      1073
#define IDC_OPERS_USES_STATIC           1074
#define IDC_OPERS_ADDITION_DEF_STATIC   1075
#define IDC_OPERS_SUBTRACTION_DEF_STATIC 1076
#define IDC_OPERS_MULTIPLICATION_DEF_STATIC 1077
#define IDC_OPERS_DIVISION_DEF_STATIC   1078
#define IDC_OPERS_POWER_DEF_STATIC      1079
#define IDC_OPERS_MODULUS_DEF_STATIC    1080
#define IDC_OPERS_PARENTHESIS_DEF_STATIC 1081
#define IDC_OPERS_UNARYPLUS_DEF_STATIC  1082
#define IDC_OPERS_UNARYMINUS_DEF_STATIC 1083
#define IDC_OPERS_ASSIGNEMENT_DEF_STATIC 1084
#define IDC_OPERS_FACTORIAL_DEF_STATIC  1085
#define IDC_OPERS_DEGTORAD_DEF_STATIC   1086
#define IDC_ERRORS_SYNTAX               1087
#define IDC_ERRORS_CODES                1088
#define IDC_ERRORS_DESCRIPTIONS         1089
#define IDC_ERRORS_MATHEMATIC           1090
#define IDC_ERRORS_FUNCTIONS            1091
#define IDC_ERRORS_PARAMETERS           1092
#define IDC_ERRORS_VARIABLES            1093
#define IDC_ERRORS_DOMAIN               1094
#define IDC_ERRORS_PARSER               1095
#define IDC_ERRORS_1001                 1096
#define IDC_ERRORS_1002                 1097
#define IDC_ERRORS_1003                 1098
#define IDC_ERRORS_1004                 1099
#define IDC_ERRORS_2001                 1100
#define IDC_ERRORS_2002                 1101
#define IDC_ERRORS_2003                 1102
#define IDC_ERRORS_2004                 1103
#define IDC_ERRORS_2005                 1104
#define IDC_ERRORS_2006                 1105
#define IDC_ERRORS_2007                 1106
#define IDC_ERRORS_2008                 1107
#define IDC_ERRORS_3001                 1108
#define IDC_ERRORS_3002                 1109
#define IDC_ERRORS_3003                 1110
#define IDC_ERRORS_4001                 1111
#define IDC_ERRORS_4002                 1112
#define IDC_ERRORS_5001                 1113
#define IDC_ERRORS_5002                 1114
#define IDC_ERRORS_5003                 1115
#define IDC_ERRORS_6001                 1116
#define IDC_ERRORS_6002                 1117
#define IDC_ERRORS_6003                 1118
#define IDC_ERRORS_6004                 1119
#define IDC_ERRORS_6005                 1120
#define IDC_ERRORS_9001                 1121
#define IDC_ERRORS_9009                 1122

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        121
#define _APS_NEXT_COMMAND_VALUE         32771
#define _APS_NEXT_CONTROL_VALUE         1123
#define _APS_NEXT_SYMED_VALUE           101
#endif
#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

toxcct
Software Developer (Senior) Accenture Technology Solutions
France France

Toxcct is an electronics guy who felt in love with programming at the age of 10 when he discovered C to play with Texas-Instruments calculators.
 
Few years later, he discovered "The C++ Language" from Bjarne Stroustrup ; a true transformation in his life.
 
Now, toxcct is experiencing the Web by developing Siebel CRM Applications for a living. He also respects very much the Web Standards (YES, a HTML/CSS code MUST validate !), and plays around with HTML/CSS/Javascript/Ajax/PHP and such.
 
_____
 
After four years of services as a Codeproject MVP, toxcct is now taking some distance as he doesn't like how things are going on the forums. he particularly doesn't accept how some totally ignorant people got the MVP Reward by only being arrogant and insulting while replying on the technical forums.
 


| Advertise | Privacy | Mobile
Web02 | 2.8.140916.1 | Last Updated 28 Apr 2006
Article Copyright 2004 by toxcct
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid