Click here to Skip to main content
16,015,756 members
Home / Discussions / Algorithms
   

Algorithms

 
AnswerRe: encryption algorithm Pin
PICguy9-Oct-07 20:19
PICguy9-Oct-07 20:19 
Questionhow to convert a string to a mathematical function Pin
nta_388626-Sep-07 2:55
nta_388626-Sep-07 2:55 
AnswerRe: how to convert a string to a mathematical function Pin
David Crow26-Sep-07 4:48
David Crow26-Sep-07 4:48 
AnswerRe: how to convert a string to a mathematical function Pin
Dan Neely26-Sep-07 5:25
Dan Neely26-Sep-07 5:25 
GeneralRe: how to convert a string to a mathematical function Pin
El Corazon26-Sep-07 9:45
El Corazon26-Sep-07 9:45 
AnswerRe: how to convert a string to a mathematical function Pin
Russell'27-Sep-07 0:35
Russell'27-Sep-07 0:35 
AnswerRe: how to convert a string to a mathematical function Pin
Urs Enzler27-Sep-07 1:16
Urs Enzler27-Sep-07 1:16 
AnswerRe: how to convert a string to a mathematical function Pin
Luc Pattyn27-Sep-07 3:29
sitebuilderLuc Pattyn27-Sep-07 3:29 
Hi,

if your expression uses a .NET language such as C# you can have .NET compile and run it
for you, as in http://www.codeproject.com/csharp/evalcscode.asp[^]


if you want to define your own langauge you will need to parse and evaluate everything
yourself, as in http://www.codeproject.com/csharp/sota_expression_evaluator.asp[^] or http://www.codeproject.com/cpp/MathieuMathParser.asp[^]


Did you notice all links are to existing CodeProject articles, which you can search
using the Search box available on nearly every CP page?

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]


this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google


AnswerRe: how to convert a string to a mathematical function Pin
PICguy9-Oct-07 20:57
PICguy9-Oct-07 20:57 
QuestionWhich algorithm fits best ? Pin
kkadir24-Sep-07 9:19
kkadir24-Sep-07 9:19 
AnswerRe: Which algorithm fits best ? Pin
PICguy24-Sep-07 14:21
PICguy24-Sep-07 14:21 
GeneralRe: Which algorithm fits best ? Pin
kkadir25-Sep-07 3:36
kkadir25-Sep-07 3:36 
AnswerRe: Which algorithm fits best ? Pin
Russell'26-Sep-07 0:04
Russell'26-Sep-07 0:04 
GeneralRe: Which algorithm fits best ? Pin
kkadir26-Sep-07 11:06
kkadir26-Sep-07 11:06 
GeneralRe: Which algorithm fits best ? Pin
Russell'26-Sep-07 22:07
Russell'26-Sep-07 22:07 
GeneralRe: Which algorithm fits best ? Pin
mulletcheese28-Sep-07 6:02
mulletcheese28-Sep-07 6:02 
QuestionCode for Travelling Salesman Problem Pin
laremtj24-Sep-07 8:56
laremtj24-Sep-07 8:56 
AnswerRe: Code for Travelling Salesman Problem Pin
Paul Conrad24-Sep-07 13:18
professionalPaul Conrad24-Sep-07 13:18 
Questionall combinations from a set of numbers Pin
Tom Deketelaere24-Sep-07 4:26
professionalTom Deketelaere24-Sep-07 4:26 
AnswerRe: all combinations from a set of numbers Pin
Luc Pattyn24-Sep-07 6:27
sitebuilderLuc Pattyn24-Sep-07 6:27 
GeneralRe: all combinations from a set of numbers Pin
Hoss Fly24-Sep-07 15:34
Hoss Fly24-Sep-07 15:34 
GeneralRe: all combinations from a set of numbers Pin
cp987624-Sep-07 15:57
cp987624-Sep-07 15:57 
GeneralRe: all combinations from a set of numbers Pin
Hoss Fly24-Sep-07 16:37
Hoss Fly24-Sep-07 16:37 
GeneralRe: all combinations from a set of numbers Pin
Stephen Hewitt24-Sep-07 20:33
Stephen Hewitt24-Sep-07 20:33 
GeneralRe: all combinations from a set of numbers Pin
Luc Pattyn25-Sep-07 0:52
sitebuilderLuc Pattyn25-Sep-07 0:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.