a good start would be to use one of the sample projects that come with Creator. Particularly "Comparator_Basic..."
You can find it in the Creator start page under "Examples and Tutorials" then "Find Example Project"
A search page pops up and device one would be "PSoC3", keyword1 would be COMP
Once you open the sample project the default path is:
C:\Program Files\Cypress\PSoC Creator\1.0\PSoC Creator\examples\sampleprojects\Comparator_Non_Inverting\Comparator_Non_Inverting.cydsn\TopDesign
Hope this helps to get you going.