From the way you ask, it sounds like you want an IDE, i.e. an editor with a built-in ability to build your code. I'm afraid the only one available on Maemo is Mono and it is, quite frankly, horrible.