Click here to Skip to main content
15,891,529 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How To Analyse a Simple Script Pin
Iain Clarke, Warrior Programmer1-Apr-09 0:29
Iain Clarke, Warrior Programmer1-Apr-09 0:29 
AnswerRe: How To Analyse a Simple Script Pin
Cedric Moonen31-Mar-09 23:59
Cedric Moonen31-Mar-09 23:59 
AnswerRe: How To Analyse a Simple Script Pin
CPallini1-Apr-09 0:17
mveCPallini1-Apr-09 0:17 
GeneralRe: How To Analyse a Simple Script Pin
jeansea1-Apr-09 0:50
jeansea1-Apr-09 0:50 
GeneralRe: How To Analyse a Simple Script Pin
Rajesh R Subramanian1-Apr-09 1:35
professionalRajesh R Subramanian1-Apr-09 1:35 
GeneralRe: How To Analyse a Simple Script Pin
jeansea1-Apr-09 2:02
jeansea1-Apr-09 2:02 
GeneralRe: How To Analyse a Simple Script Pin
CPallini1-Apr-09 1:39
mveCPallini1-Apr-09 1:39 
GeneralRe: How To Analyse a Simple Script Pin
Cedric Moonen1-Apr-09 1:51
Cedric Moonen1-Apr-09 1:51 
Are you sure this is really what you want to do ? As the other pointed out, that's a difficult task. You need to ask yourself two questions:
1) Do you really need to be able to execute code from a text file at runtime ? Can't you 'simplify' your task into something like a condition and an action (that's more or less your example) ? If you design it cleverly, it could simplify a lot your code.

2) If that's not possible, are you sure you want to write your own interpreted ? Can't you use an existing scripting language instead of rewriting it yourself. If they exist, this is for a specific reason. If you already looked at this and found it too difficult, well think again because doing it yourself is gonna be way more complicated than that...

Cédric Moonen
Software developer

Charting control [v1.5]
OpenGL game tutorial in C++

GeneralRe: How To Analyse a Simple Script Pin
jeansea1-Apr-09 2:21
jeansea1-Apr-09 2:21 
GeneralRe: How To Analyse a Simple Script Pin
Cedric Moonen1-Apr-09 2:57
Cedric Moonen1-Apr-09 2:57 
GeneralRe: How To Analyse a Simple Script Pin
David Crow1-Apr-09 3:19
David Crow1-Apr-09 3:19 
AnswerRe: How To Make a Simple compiler - NOTHING LIKE THE ORIGINAL MESSAGE Pin
Iain Clarke, Warrior Programmer1-Apr-09 2:13
Iain Clarke, Warrior Programmer1-Apr-09 2:13 
AnswerRe: How To Make a Simple compiler Pin
sashoalm1-Apr-09 2:55
sashoalm1-Apr-09 2:55 
AnswerRe: How To Make a Simple compiler Pin
Stuart Dootson1-Apr-09 3:29
professionalStuart Dootson1-Apr-09 3:29 
QuestionCListCtrl problem Pin
bhanu_850931-Mar-09 23:42
bhanu_850931-Mar-09 23:42 
AnswerRe: CListCtrl problem Pin
CPallini1-Apr-09 0:32
mveCPallini1-Apr-09 0:32 
GeneralRe: CListCtrl problem Pin
bhanu_85091-Apr-09 0:39
bhanu_85091-Apr-09 0:39 
GeneralRe: CListCtrl problem Pin
CPallini1-Apr-09 0:45
mveCPallini1-Apr-09 0:45 
GeneralRe: CListCtrl problem Pin
bhanu_85091-Apr-09 0:55
bhanu_85091-Apr-09 0:55 
GeneralRe: CListCtrl problem Pin
bhanu_85091-Apr-09 1:46
bhanu_85091-Apr-09 1:46 
GeneralRe: CListCtrl problem Pin
bhanu_85091-Apr-09 1:46
bhanu_85091-Apr-09 1:46 
QuestionUsing library built in VC 8.0 or VC 7.0 in Application built in VC6.0 Pin
tony_Udz31-Mar-09 23:40
tony_Udz31-Mar-09 23:40 
AnswerRe: Using library built in VC 8.0 or VC 7.0 in Application built in VC6.0 Pin
Stuart Dootson1-Apr-09 3:34
professionalStuart Dootson1-Apr-09 3:34 
QuestionHow can get rows in excel sheet? Pin
Le@rner31-Mar-09 23:17
Le@rner31-Mar-09 23:17 
AnswerRe: How can get rows in excel sheet? Pin
Stuart Dootson1-Apr-09 3:52
professionalStuart Dootson1-Apr-09 3: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.