Click here to Skip to main content
15,895,799 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: To construct a C++ code from a given Visual Basic String. Pin
Hans Dietrich30-Sep-09 23:09
mentorHans Dietrich30-Sep-09 23:09 
AnswerRe: To construct a C++ code from a given Visual Basic String. Pin
Cedric Moonen30-Sep-09 23:12
Cedric Moonen30-Sep-09 23:12 
GeneralRe: To construct a C++ code from a given Visual Basic String. Pin
Vishrant Shah30-Sep-09 23:59
Vishrant Shah30-Sep-09 23:59 
GeneralRe: To construct a C++ code from a given Visual Basic String. Pin
Cedric Moonen1-Oct-09 0:07
Cedric Moonen1-Oct-09 0:07 
GeneralRe: To construct a C++ code from a given Visual Basic String. Pin
Vishrant Shah1-Oct-09 0:14
Vishrant Shah1-Oct-09 0:14 
GeneralRe: To construct a C++ code from a given Visual Basic String. Pin
Cedric Moonen1-Oct-09 0:18
Cedric Moonen1-Oct-09 0:18 
GeneralRe: To construct a C++ code from a given Visual Basic String. Pin
Vishrant Shah1-Oct-09 0:41
Vishrant Shah1-Oct-09 0:41 
GeneralRe: To construct a C++ code from a given Visual Basic String. Pin
Richard MacCutchan1-Oct-09 0:50
mveRichard MacCutchan1-Oct-09 0:50 
Vishrant Shah wrote:
The formula will be specified by a trader/pricer through a VB front-end, which we need to interpret in C++ code, and use it in the Monte Carlo simulation program.


So the problem has really nothing to do with either C++ or VB. All you are trying to do is interpret some formula entered as text and execute it in real time. This requires some form of parser that will split your string into its constituent tokens and either convert into some format as specified by the simulator, or compute a value via the rules of mathematics. I think you may find many examples, through Google, of simple calculator programs, which you could adapt to your needs.
GeneralRe: To construct a C++ code from a given Visual Basic String. Pin
CPallini1-Oct-09 2:01
mveCPallini1-Oct-09 2:01 
AnswerRe: To construct a C++ code from a given Visual Basic String. Pin
CPallini30-Sep-09 23:20
mveCPallini30-Sep-09 23:20 
Questionvery strange memory problem ....please help Pin
dharani30-Sep-09 22:38
dharani30-Sep-09 22:38 
AnswerRe: very strange memory problem ....please help Pin
Hans Dietrich30-Sep-09 23:12
mentorHans Dietrich30-Sep-09 23:12 
AnswerRe: very strange memory problem ....please help Pin
KarstenK30-Sep-09 23:19
mveKarstenK30-Sep-09 23:19 
GeneralRe: very strange memory problem ....please help Pin
dharani30-Sep-09 23:39
dharani30-Sep-09 23:39 
GeneralRe: very strange memory problem ....please help Pin
KarstenK1-Oct-09 0:33
mveKarstenK1-Oct-09 0:33 
AnswerRe: very strange memory problem ....please help Pin
TimothyPMoore1-Oct-09 2:38
TimothyPMoore1-Oct-09 2:38 
QuestionRe: very strange memory problem ....please help Pin
David Crow1-Oct-09 3:23
David Crow1-Oct-09 3:23 
QuestionExcluive low-level access to a disk Pin
mooromets_ua30-Sep-09 21:48
mooromets_ua30-Sep-09 21:48 
QuestionCreate Multipage Images Pin
Game-point30-Sep-09 20:37
Game-point30-Sep-09 20:37 
AnswerRe: Create Multipage Images Pin
Rajesh R Subramanian30-Sep-09 21:55
professionalRajesh R Subramanian30-Sep-09 21:55 
GeneralRe: Create Multipage Images Pin
Game-point1-Oct-09 0:09
Game-point1-Oct-09 0:09 
AnswerRe: Create Multipage Images Pin
CPallini30-Sep-09 22:27
mveCPallini30-Sep-09 22:27 
AnswerRe: Create Multipage Images Pin
Game-point30-Sep-09 22:46
Game-point30-Sep-09 22:46 
AnswerRe: Create Multipage Images Pin
Hamid_RT1-Oct-09 1:15
Hamid_RT1-Oct-09 1:15 
GeneralRe: Create Multipage Images Pin
Game-point1-Oct-09 1:49
Game-point1-Oct-09 1:49 

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.