Possible Duplicate:
Is there an interpreter for C?
I want to practice C a bit and I would like to have something that allows to write and test C code quickly. I want to have an interpreter with UI where I can write my code and execute it.
Are there any good solutions for that?
Though “interpreters” per se don’t exist (or not practically), I’d advise on using a modern IDE. Eclipse + CDT allows you to have “on the fly compilation”, just like in java. Your project is ready to run whenever you are, with reduced latency due to compilation (if you have a decent computer).
For other answers, I advise on NOT using directly
gcc test.c. Use a makefile or use at leastgcc -Wall -g -o myapp test.ctop have additional information during compilation (useful as C has many more pitfalls than python). Please note as well thattestis astandard program and that.might not be in your PATH :myappis a better name thantest😉