Well you can write the code in Vim or Notepad, or any other text editor.
Compiler depends on your platform and/or programming language you are writing it in.
Examples:
Win / (C, C++) = Dev-C++ | Visual Studio
*nix / (C, C++) = gcc + Vim
Anyway, I think that would be to much work for something like that. Maybe you should just check in the options of the program you want to mute.