If your professor uses smileys, include a winky face too.
Say hello, ask them how their day is going, discuss an aspect of the class, whatever! By this time, they will probably realize you are interested in them.
Do they constantly borrow pens from students? What is the Height and Weight of Zazie Skymm? Listen up, and see if they throw out any hints.