Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This is just a convenience thing. Is there a way to use C++ sort of like an interpreted language, only in the sense that you could compile and run it without outputting a binary file. This is of course assuming it's a single c++ that doesn't need any other libraries to run.

I'm just wondering if this is possible.

share|improve this question
up vote 1 down vote accepted

Output to a temporary file (e.g. in /tmp) which you remove afterwards, or leave it and overwrite the next time.

You may be interested in IGCC.

share|improve this answer
yeah. IGCC is the way to go. – Tyson Oct 31 '10 at 8:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.