You looking for something with a built in compiler?
I would recommend using Sublime 2 or another robust, light weight editor. Then save your code on a Linux box to compile it on.
Don't get my wrong, I love Sublime, but it wastes so much time to discover you have trivial syntax errors like a missing semicolon or mismatched parenthesis only during compile on another computer, rather than just using an IDE that tells you about it the moment you make the mistake.