Answer:
You can use any text editor you want, mcedit can be a good choice for beginners.
------------------------------------------------------------------
There are lots of text editors but assuming that you run in a graphical mode l would recommend
codeblocks
Codeblocks is not just an editor it is a fully functional IDE and it is good. Codeblocks is also available for Windows.
Codeblocks can adapt to many different compiles including the free Microsoft compiles.