Hello guys,
Am developing a dll, math library, that i want to use in my asp.net website. people will submit maths questions, and on submit this will be passed to my maths library for processing and output.
How do i implement this.
Pass questions from my asp.net page to the dll, and post he desired answer back to the asp.net page?
Can you suggest any maths parsing code, dll, or algorithm for me
thanks
3 replies to this topic
#1
Posted 21 May 2010 - 10:31 PM
|
|
|
#2
Posted 21 May 2010 - 10:47 PM
I really appreciate your initiative :) , but there are lot's of pre-compiled libraries already available for free .Why do you want to re Invent the wheel ?
as for your question , i suppose the below proposal would work.
1.JavaScript is more Friendly than sending your code to server for Just adding 2 numbers.
2.JavaScript Runs in clients browser.
3.easier to output a message via alert message box.[cannot with a ASP.NET web application]
after all this advice if you want to still , go ahead wasting precious time then Try developing a Copy Cat of Windows Calculator but a web application .
All the best for your endeavors :thumbup1:
as for your question , i suppose the below proposal would work.
1.JavaScript is more Friendly than sending your code to server for Just adding 2 numbers.
2.JavaScript Runs in clients browser.
3.easier to output a message via alert message box.[cannot with a ASP.NET web application]
after all this advice if you want to still , go ahead wasting precious time then Try developing a Copy Cat of Windows Calculator but a web application .
All the best for your endeavors :thumbup1:
#3
Posted 21 May 2010 - 11:44 PM
hello, thanks for the response.
but the idea is that a user can select a maths category like fractions and enter a question like this
2/26+77/586(-8/9), and click solve.
the website will send this to the asp.net dll, which will parse it to determine if its properly formed, and send to the solver dll.
The libraries you mentioned, are they for solving maths problems like fractions and algebra, if so can you point me to the place i can get them?
but the idea is that a user can select a maths category like fractions and enter a question like this
2/26+77/586(-8/9), and click solve.
the website will send this to the asp.net dll, which will parse it to determine if its properly formed, and send to the solver dll.
The libraries you mentioned, are they for solving maths problems like fractions and algebra, if so can you point me to the place i can get them?
#4
Posted 05 June 2010 - 10:56 PM
Is your googler broke at the moment? I can find a lot of math parsers by googling:
"c# parse evaluate math"
if you want to implement your own parser, it's not that difficult. A stack has always been the structure of choice, though I wrote one once entirely using strings, just for fun.
"c# parse evaluate math"
if you want to implement your own parser, it's not that difficult. A stack has always been the structure of choice, though I wrote one once entirely using strings, just for fun.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









