notepad is just a simple text editor, there are loads of examples on the www.
it is possible to open source code files in notepad