You should learn to use Code blocks. See the FAQ