Why can't I open any Parent class or source file in a text editor?

When I click on the parent class, which says “click to open this source file in text editor” nothing happens. visual studio does not open with the c++ script.