C yes, C++ no.
Make sure you're using a C compiler, not a C++ compiler
Here is why not C++: http://news.ycombinator.com/item?id=1463592 and why not java
Edit: Was there something wrong with my comment? Or were you downvoting merely because you disagree?