Click here to Skip to main content
15,902,917 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Need expert advice on many different matters Pin
Christian Graus24-Oct-05 18:23
protectorChristian Graus24-Oct-05 18:23 
AnswerRe: Need expert advice on many different matters Pin
khan++24-Oct-05 18:37
khan++24-Oct-05 18:37 
QuestionRe: Need expert advice on many different matters Pin
Mariano Lopez-Gappa25-Oct-05 6:26
Mariano Lopez-Gappa25-Oct-05 6:26 
Questionthread update data? Pin
cell5124-Oct-05 16:30
cell5124-Oct-05 16:30 
AnswerRe: thread update data? Pin
John M. Drescher24-Oct-05 16:55
John M. Drescher24-Oct-05 16:55 
AnswerRe: thread update data? Pin
Anonymous24-Oct-05 19:52
Anonymous24-Oct-05 19:52 
QuestionUsing c++ to write c++ Pin
Jordan C. Atlas24-Oct-05 15:09
Jordan C. Atlas24-Oct-05 15:09 
AnswerRe: Using c++ to write c++ Pin
User 58385224-Oct-05 15:51
User 58385224-Oct-05 15:51 
Its called code generation and its a pretty complex topic. Lots of high end programming tools do this. Rational Rose for example can generate code from UML models.

You could look at using Lex.

You could create an object model to represent the C++ entities (classes, function, variables etc etc). A program would be represented by a tree like structure of these objects. Each of these classes could construct itself from the xml and then write iteself to the stream. You could take it a step further and make this object model non language specific then apply formatting objects for the language you want (C++, c#, Java) this would mean however that your xml representation would be limited to features common to these languages.

AnswerRe: Using c++ to write c++ Pin
Bob Stanneveld24-Oct-05 23:25
Bob Stanneveld24-Oct-05 23:25 
GeneralRe: Using c++ to write c++ Pin
Jordan C. Atlas25-Oct-05 5:06
Jordan C. Atlas25-Oct-05 5:06 
GeneralRe: Using c++ to write c++ Pin
Bob Stanneveld25-Oct-05 6:39
Bob Stanneveld25-Oct-05 6:39 
QuestionHelp needed for speech capture project! Pin
student_eng24-Oct-05 14:57
student_eng24-Oct-05 14:57 
AnswerRe: Help needed for speech capture project! Pin
Christian Graus24-Oct-05 15:28
protectorChristian Graus24-Oct-05 15:28 
GeneralRe: Help needed for speech capture project! Pin
student_eng24-Oct-05 15:31
student_eng24-Oct-05 15:31 
GeneralRe: Help needed for speech capture project! Pin
Christian Graus24-Oct-05 15:37
protectorChristian Graus24-Oct-05 15:37 
AnswerRe: Help needed for speech capture project! Pin
normanS24-Oct-05 20:24
normanS24-Oct-05 20:24 
QuestionChunk data trasmfer between two thread. Pin
LeeeNN24-Oct-05 13:39
LeeeNN24-Oct-05 13:39 
AnswerRe: Chunk data trasmfer between two thread. Pin
PJ Arends24-Oct-05 15:17
professionalPJ Arends24-Oct-05 15:17 
GeneralRe: Chunk data trasmfer between two thread. Pin
LeeeNN24-Oct-05 15:51
LeeeNN24-Oct-05 15:51 
AnswerRe: Chunk data trasmfer between two thread. Pin
John R. Shaw24-Oct-05 18:32
John R. Shaw24-Oct-05 18:32 
GeneralRe: Chunk data trasmfer between two thread. Pin
LeeeNN25-Oct-05 8:01
LeeeNN25-Oct-05 8:01 
QuestionEvent Handling Pin
suezzz0024-Oct-05 12:42
suezzz0024-Oct-05 12:42 
AnswerRe: Event Handling Pin
khan++24-Oct-05 19:36
khan++24-Oct-05 19:36 
GeneralRe: Event Handling Pin
S. Senthil Kumar24-Oct-05 20:08
S. Senthil Kumar24-Oct-05 20:08 
GeneralRe: Event Handling Pin
khan++24-Oct-05 20:36
khan++24-Oct-05 20:36 

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.