Joined: July 2006
||Posted: Sep. 04 2007,00:06
If you don't wish to use tcc, you could use a fully featured compiler... one of the gcc* extensions would be ideal.
If I remember, beaver has syntax highlighting (though not sure of the defaults in DSL), but it's just an editor. For an IDE I've used KDevelop, but it's rather heavy on resources. Personally, I prefer using vim with syntax highlighting, autotabbing, etc. Here's a list that could be handy: http://linuxmafia.com/faq/Devtools/ides.html
Some misc notes on your code (subject to opinion?):
- specify the return type i.e. int main
- no newline at the end of the last printf?
- it's ampersand ;p