Here is a goal: How do i make the sugar syrup for making candy?

How would you accomplish this goal?
In a saucepan stir sugar, corn syrup, and water together. Heat to a boil and add flavoring. Keep stirring then let it cool