compiling c++ code at runtime

A

ArunPrakash

Hi all,
I have a requirement in which I have to compile a given a c++ code(
say Code A ) from inside some other c++ code( say code B ) and get the
errors if any, and call a function inside the compiled c++ code( code
A ) from code B. This is for automating a programming competition
sort of thing. Is there a way to do this or can i use standard
compilers ( like tcc or bcc ) to achieve this effect. Plz help me.

Thanks in Advance and Regards,
Arun Prakash. B
 
G

Gianni Mariani

ArunPrakash said:
Hi all,
I have a requirement in which I have to compile a given a c++ code(
say Code A ) from inside some other c++ code( say code B ) and get the
errors if any, and call a function inside the compiled c++ code( code
A ) from code B. This is for automating a programming competition
sort of thing. Is there a way to do this or can i use standard
compilers ( like tcc or bcc ) to achieve this effect. Plz help me.

Thanks in Advance and Regards,
Arun Prakash. B

see this:

http://groups.google.com/[email protected]#link8
 
C

Chris Theis

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,159
Messages
2,570,888
Members
47,420
Latest member
ZitaVos505

Latest Threads

Top